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.



580
581
582
583
584
# File 'lib/fluent/plugin/out_s3.rb', line 580

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.



586
587
588
# File 'lib/fluent/plugin/out_s3.rb', line 586

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



586
587
588
# File 'lib/fluent/plugin/out_s3.rb', line 586

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



598
599
# File 'lib/fluent/plugin/out_s3.rb', line 598

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



588
589
590
# File 'lib/fluent/plugin/out_s3.rb', line 588

def configure(conf)
  super
end

#content_typeObject



595
596
# File 'lib/fluent/plugin/out_s3.rb', line 595

def content_type
end

#extObject



592
593
# File 'lib/fluent/plugin/out_s3.rb', line 592

def ext
end