Class: Fluent::SpectrumInput::MemoryStateStore
- Inherits:
-
Object
- Object
- Fluent::SpectrumInput::MemoryStateStore
- Defined in:
- lib/fluent/plugin/in_spectrum.rb
Instance Method Summary collapse
-
#initialize ⇒ MemoryStateStore
constructor
A new instance of MemoryStateStore.
- #last_records ⇒ Object
- #update! ⇒ Object
Constructor Details
#initialize ⇒ MemoryStateStore
Returns a new instance of MemoryStateStore.
62 63 64 |
# File 'lib/fluent/plugin/in_spectrum.rb', line 62 def initialize @data = {} end |
Instance Method Details
#last_records ⇒ Object
66 67 68 |
# File 'lib/fluent/plugin/in_spectrum.rb', line 66 def last_records @data['last_records'] ||= {} end |
#update! ⇒ Object
70 71 |
# File 'lib/fluent/plugin/in_spectrum.rb', line 70 def update! end |