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.



549
550
551
552
553
# File 'lib/fluent/plugin/out_s3.rb', line 549

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.



555
556
557
# File 'lib/fluent/plugin/out_s3.rb', line 555

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



555
556
557
# File 'lib/fluent/plugin/out_s3.rb', line 555

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



567
568
# File 'lib/fluent/plugin/out_s3.rb', line 567

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



557
558
559
# File 'lib/fluent/plugin/out_s3.rb', line 557

def configure(conf)
  super
end

#content_typeObject



564
565
# File 'lib/fluent/plugin/out_s3.rb', line 564

def content_type
end

#extObject



561
562
# File 'lib/fluent/plugin/out_s3.rb', line 561

def ext
end