--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Replaces timeout.rb to avoid Thread creation and scheduling overhead.
- !ruby/struct:SM::Flow::P 
  body: You should check another timeout replace in WEBrick. See lib/webrick/utils.rb in ruby/1.9.
- !ruby/struct:SM::Flow::P 
  body: "About this implementation:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Do not create Thread for each timeout() call. Just create 1 Thread for timeout scheduler.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Do not wakeup the scheduler thread so often. Let scheduler thread sleep until the nearest period.
  type: :BULLET
constants: []

full_name: HTTPClient::TimeoutScheduler
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: cancel
- !ruby/object:RI::MethodSummary 
  name: register
name: TimeoutScheduler
superclass: Object
