Class: Fluent::WinEvtLog::MemoryPositionEntry
- Inherits:
-
Object
- Object
- Fluent::WinEvtLog::MemoryPositionEntry
- Defined in:
- lib/fluent/plugin/in_winevtlog.rb
Instance Method Summary collapse
-
#initialize ⇒ MemoryPositionEntry
constructor
A new instance of MemoryPositionEntry.
- #read_num ⇒ Object
- #read_start ⇒ Object
- #update(start, num) ⇒ Object
Constructor Details
#initialize ⇒ MemoryPositionEntry
Returns a new instance of MemoryPositionEntry.
275 276 277 278 |
# File 'lib/fluent/plugin/in_winevtlog.rb', line 275 def initialize @start = 0 @num = 0 end |
Instance Method Details
#read_num ⇒ Object
289 290 291 |
# File 'lib/fluent/plugin/in_winevtlog.rb', line 289 def read_num @num end |
#read_start ⇒ Object
285 286 287 |
# File 'lib/fluent/plugin/in_winevtlog.rb', line 285 def read_start @start end |
#update(start, num) ⇒ Object
280 281 282 283 |
# File 'lib/fluent/plugin/in_winevtlog.rb', line 280 def update(start, num) @start = start @num = num end |