Class: Fluent::AppdynamicsInput::MemoryStateStore
- Inherits:
-
Object
- Object
- Fluent::AppdynamicsInput::MemoryStateStore
- Defined in:
- lib/fluent/plugin/in_appdynamics.rb
Overview
Class store in memory
Instance Method Summary collapse
-
#initialize ⇒ MemoryStateStore
constructor
A new instance of MemoryStateStore.
- #last_records(tag = nil) ⇒ Object
- #update_records(time, tag = nil) ⇒ Object
Constructor Details
#initialize ⇒ MemoryStateStore
Returns a new instance of MemoryStateStore.
72 73 74 |
# File 'lib/fluent/plugin/in_appdynamics.rb', line 72 def initialize @data = {} end |
Instance Method Details
#last_records(tag = nil) ⇒ Object
76 77 78 |
# File 'lib/fluent/plugin/in_appdynamics.rb', line 76 def last_records(tag=nil) @data['last_records'] ||= {} end |
#update_records(time, tag = nil) ⇒ Object
80 81 |
# File 'lib/fluent/plugin/in_appdynamics.rb', line 80 def update_records(time,tag=nil) end |