Class: Fluent::S3Output::Compressor

Inherits:
Object
  • Object
show all
Includes:
Configurable
Defined in:
lib/fluent/plugin/out_s3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Compressor

Returns a new instance of Compressor.



262
263
264
265
266
# File 'lib/fluent/plugin/out_s3.rb', line 262

def initialize(opts = {})
  super()
  @buffer_type = opts[:buffer_type]
  @log = opts[:log]
end

Instance Attribute Details

#buffer_typeObject (readonly)

Returns the value of attribute buffer_type.



268
269
270
# File 'lib/fluent/plugin/out_s3.rb', line 268

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



268
269
270
# File 'lib/fluent/plugin/out_s3.rb', line 268

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



280
281
# File 'lib/fluent/plugin/out_s3.rb', line 280

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



270
271
272
# File 'lib/fluent/plugin/out_s3.rb', line 270

def configure(conf)
  super
end

#content_typeObject



277
278
# File 'lib/fluent/plugin/out_s3.rb', line 277

def content_type
end

#extObject



274
275
# File 'lib/fluent/plugin/out_s3.rb', line 274

def ext
end