Class: Euston::Daemons::Pipeline::Snapshotter::Component
- Inherits:
-
Euston::DaemonComponent
- Object
- Euston::DaemonComponent
- Euston::Daemons::Pipeline::Snapshotter::Component
- Defined in:
- lib/euston-daemons/pipeline/lib/snapshotter/component.rb
Instance Method Summary collapse
-
#initialize(event_store, threshold, id = 1, logger = Euston::NullLogger.instance) ⇒ Component
constructor
A new instance of Component.
Methods inherited from Euston::DaemonComponent
Methods included from Exceptions
Constructor Details
#initialize(event_store, threshold, id = 1, logger = Euston::NullLogger.instance) ⇒ Component
Returns a new instance of Component.
6 7 8 9 10 11 |
# File 'lib/euston-daemons/pipeline/lib/snapshotter/component.rb', line 6 def initialize event_store, threshold, id = 1, logger = Euston::NullLogger.instance @event_store = event_store @threshold = threshold @id = id @log = logger end |