Class: Fluent::Plugin::TailInput::Entry
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Plugin::TailInput::Entry
- Defined in:
- lib/fluent/plugin/in_tail/position_file.rb
Constant Summary collapse
- POSITION_FILE_ENTRY_FORMAT =
"%s\t%016x\t%016x\n".freeze
Instance Attribute Summary collapse
-
#ino ⇒ Object
Returns the value of attribute ino.
-
#path ⇒ Object
Returns the value of attribute path.
-
#pos ⇒ Object
Returns the value of attribute pos.
-
#seek ⇒ Object
Returns the value of attribute seek.
Instance Method Summary collapse
Instance Attribute Details
#ino ⇒ Object
Returns the value of attribute ino
190 191 192 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 190 def ino @ino end |
#path ⇒ Object
Returns the value of attribute path
190 191 192 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 190 def path @path end |
#pos ⇒ Object
Returns the value of attribute pos
190 191 192 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 190 def pos @pos end |
#seek ⇒ Object
Returns the value of attribute seek
190 191 192 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 190 def seek @seek end |
Instance Method Details
#to_entry_fmt ⇒ Object
193 194 195 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 193 def to_entry_fmt POSITION_FILE_ENTRY_FORMAT % [path, pos, ino] end |