Class: Fluent::Buffer
Constant Summary
Configurable::CONFIG_TYPE_REGISTRY
Instance Method Summary
collapse
#config, included, lookup_type, register_type
Constructor Details
#initialize ⇒ Buffer
Returns a new instance of Buffer.
36
37
38
|
# File 'lib/fluent/buffer.rb', line 36
def initialize
super
end
|
Instance Method Details
#before_shutdown(out) ⇒ Object
50
51
|
# File 'lib/fluent/buffer.rb', line 50
def before_shutdown(out)
end
|
#clear! ⇒ Object
69
70
71
|
# File 'lib/fluent/buffer.rb', line 69
def clear!
raise NotImplementedError, "Implement this method in child class"
end
|
40
41
42
|
# File 'lib/fluent/buffer.rb', line 40
def configure(conf)
super
end
|
#emit(key, data, chain) ⇒ Object
53
54
55
|
# File 'lib/fluent/buffer.rb', line 53
def emit(key, data, chain)
raise NotImplementedError, "Implement this method in child class"
end
|
#keys ⇒ Object
57
58
59
|
# File 'lib/fluent/buffer.rb', line 57
def keys
raise NotImplementedError, "Implement this method in child class"
end
|
#pop(out) ⇒ Object
65
66
67
|
# File 'lib/fluent/buffer.rb', line 65
def pop(out)
raise NotImplementedError, "Implement this method in child class"
end
|
#push(key) ⇒ Object
61
62
63
|
# File 'lib/fluent/buffer.rb', line 61
def push(key)
raise NotImplementedError, "Implement this method in child class"
end
|
#shutdown ⇒ Object
47
48
|
# File 'lib/fluent/buffer.rb', line 47
def shutdown
end
|
#start ⇒ Object
44
45
|
# File 'lib/fluent/buffer.rb', line 44
def start
end
|