Ravn::BDE::
BoltRunner class
Superclass | Ravn::Actor |
Constants
- HEARTBEAT_INTERVAL
How often to run the heartbeat callback in running bolts
Attributes
- heartbeat_timer R
The Concurrent::TimerTask that emits the heartbeat event
- mission_config R
The current mission configuration
- state_manager R
The state manager (Actor)
Public Class Methods
Create a new BoltRunner
for the specified element
and mission
.
Public Instance Methods
Handler for finishing bolts.
Relay the heartbeat event to all running bolts.
Create a TimerTask that will emit heartbeat events to all running bolts.
Send a heartbeat event.
Overridden — start the state manager and the configured bolts
Load the configured bolts and return their Actor references.
Start the bolt described by the given config
, which should be a Hash of (at least) the following members:
[:name
] the tailored name of the bolt [:text
] the text description for bolt notifications, history entries, etc. [:components
] a hash of component types and associated config hashes