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.



498
499
500
501
502
# File 'lib/fluent/plugin/out_s3.rb', line 498

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.



504
505
506
# File 'lib/fluent/plugin/out_s3.rb', line 504

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



504
505
506
# File 'lib/fluent/plugin/out_s3.rb', line 504

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



516
517
# File 'lib/fluent/plugin/out_s3.rb', line 516

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



506
507
508
# File 'lib/fluent/plugin/out_s3.rb', line 506

def configure(conf)
  super
end

#content_typeObject



513
514
# File 'lib/fluent/plugin/out_s3.rb', line 513

def content_type
end

#extObject



510
511
# File 'lib/fluent/plugin/out_s3.rb', line 510

def ext
end