class Fluent::Buffer
Public Class Methods
new()
click to toggle source
Calls superclass method
Fluent::Configurable.new
# File lib/fluent/buffer.rb, line 30 def initialize super end
Public Instance Methods
before_shutdown(out)
click to toggle source
# File lib/fluent/buffer.rb, line 44 def before_shutdown(out) end
clear!()
click to toggle source
# File lib/fluent/buffer.rb, line 63 def clear! raise NotImplementedError, "Implement this method in child class" end
configure(conf)
click to toggle source
Calls superclass method
Fluent::Configurable#configure
# File lib/fluent/buffer.rb, line 34 def configure(conf) super end
emit(key, data, chain)
click to toggle source
# File lib/fluent/buffer.rb, line 47 def emit(key, data, chain) raise NotImplementedError, "Implement this method in child class" end
keys()
click to toggle source
# File lib/fluent/buffer.rb, line 51 def keys raise NotImplementedError, "Implement this method in child class" end
pop(out)
click to toggle source
# File lib/fluent/buffer.rb, line 59 def pop(out) raise NotImplementedError, "Implement this method in child class" end
push(key)
click to toggle source
# File lib/fluent/buffer.rb, line 55 def push(key) raise NotImplementedError, "Implement this method in child class" end
shutdown()
click to toggle source
# File lib/fluent/buffer.rb, line 41 def shutdown end
start()
click to toggle source
# File lib/fluent/buffer.rb, line 38 def start end