Parent

Class/Module Index [+]

Quicksearch

Fluent::ZFileBuffer

Public Class Methods

new() click to toggle source
TODO

Plugin.register_buffer('zfile', self)

# File lib/fluent/plugin/buf_zfile.rb, line 63
def initialize
  require 'zlib'
  super
end

Public Instance Methods

new_chunk() click to toggle source
# File lib/fluent/plugin/buf_zfile.rb, line 76
def new_chunk
  path = new_chunk_path
  ZFileBufferChunk.new(path)
end
resume_queue() click to toggle source
# File lib/fluent/plugin/buf_zfile.rb, line 68
def resume_queue
  queue = resume_queue_paths.map {|path|
    ZFileBufferChunk.new(path)
  }
  top = new_chunk
  return queue, top
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.