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.



609
610
611
612
613
614
# File 'lib/fluent/plugin/out_s3.rb', line 609

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

Instance Attribute Details

#buffer_typeObject (readonly)

Returns the value of attribute buffer_type.



616
617
618
# File 'lib/fluent/plugin/out_s3.rb', line 616

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



616
617
618
# File 'lib/fluent/plugin/out_s3.rb', line 616

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



628
629
# File 'lib/fluent/plugin/out_s3.rb', line 628

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



618
619
620
# File 'lib/fluent/plugin/out_s3.rb', line 618

def configure(conf)
  super
end

#content_typeObject



625
626
# File 'lib/fluent/plugin/out_s3.rb', line 625

def content_type
end

#extObject



622
623
# File 'lib/fluent/plugin/out_s3.rb', line 622

def ext
end