Class: ConcurrentPipeline::Processors::ActorProcessor::Scheduler
- Inherits:
-
Object
- Object
- ConcurrentPipeline::Processors::ActorProcessor::Scheduler
- Extended by:
- PipeActor
- Defined in:
- lib/concurrent_pipeline/processors/actor_processor.rb
Instance Attribute Summary collapse
-
#dispatch ⇒ Object
readonly
Returns the value of attribute dispatch.
-
#pipelineables ⇒ Object
readonly
Returns the value of attribute pipelineables.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#store ⇒ Object
readonly
Returns the value of attribute store.
-
#stream ⇒ Object
readonly
Returns the value of attribute stream.
Instance Method Summary collapse
-
#initialize(dispatch:, store:, pipelineables:, stream:) ⇒ Scheduler
constructor
A new instance of Scheduler.
- #pool_for(pipelineable) ⇒ Object
Methods included from PipeActor
default_block, extended, on_blocks, spawn
Constructor Details
#initialize(dispatch:, store:, pipelineables:, stream:) ⇒ Scheduler
Returns a new instance of Scheduler.
198 199 200 201 202 203 204 205 206 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 198 def initialize(dispatch:, store:, pipelineables:, stream:) @dispatch = dispatch @store = store @pipelineables = pipelineables @stream = stream @status = {} @unlimited_pool = ActorPool.new @pools = {} end |
Instance Attribute Details
#dispatch ⇒ Object (readonly)
Returns the value of attribute dispatch.
197 198 199 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 197 def dispatch @dispatch end |
#pipelineables ⇒ Object (readonly)
Returns the value of attribute pipelineables.
197 198 199 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 197 def pipelineables @pipelineables end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
197 198 199 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 197 def status @status end |
#store ⇒ Object (readonly)
Returns the value of attribute store.
197 198 199 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 197 def store @store end |
#stream ⇒ Object (readonly)
Returns the value of attribute stream.
197 198 199 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 197 def stream @stream end |