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
176 177 178 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 176 def ino @ino end |
#path ⇒ Object
Returns the value of attribute path
176 177 178 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 176 def path @path end |
#pos ⇒ Object
Returns the value of attribute pos
176 177 178 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 176 def pos @pos end |
#seek ⇒ Object
Returns the value of attribute seek
176 177 178 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 176 def seek @seek end |
Instance Method Details
#to_entry_fmt ⇒ Object
179 180 181 |
# File 'lib/fluent/plugin/in_tail/position_file.rb', line 179 def to_entry_fmt POSITION_FILE_ENTRY_FORMAT % [path, pos, ino] end |