Class: Concur::Executor::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/executor.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



14
15
16
# File 'lib/executor.rb', line 14

def initialize(options={})

end

Instance Method Details

#executeObject



23
24
25
# File 'lib/executor.rb', line 23

def execute
  raise "execute() not implemented, this is an invalid implemention."
end

#queue_sizeObject



27
28
29
# File 'lib/executor.rb', line 27

def queue_size
  0
end

#shutdownObject



19
20
21
# File 'lib/executor.rb', line 19

def shutdown

end