Class: Fluent::Plugin::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.



461
462
463
464
465
# File 'lib/fluent/plugin/out_s3.rb', line 461

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.



467
468
469
# File 'lib/fluent/plugin/out_s3.rb', line 467

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



467
468
469
# File 'lib/fluent/plugin/out_s3.rb', line 467

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



479
480
# File 'lib/fluent/plugin/out_s3.rb', line 479

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



469
470
471
# File 'lib/fluent/plugin/out_s3.rb', line 469

def configure(conf)
  super
end

#content_typeObject



476
477
# File 'lib/fluent/plugin/out_s3.rb', line 476

def content_type
end

#extObject



473
474
# File 'lib/fluent/plugin/out_s3.rb', line 473

def ext
end