class Fluent::TailPathInput::TailWatcher::RotationRequest

Attributes

io[R]
wait[R]

Public Class Methods

new(io, wait) click to toggle source
# File lib/fluent/plugin/in_tailpath.rb, line 271
def initialize(io, wait)
  @io = io
  @wait = wait
end

Public Instance Methods

ready?() click to toggle source
# File lib/fluent/plugin/in_tailpath.rb, line 282
def ready?
  @wait <= 0
end
tick() click to toggle source
# File lib/fluent/plugin/in_tailpath.rb, line 278
def tick
  @wait -= 1
end