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



410
411
412
413
414
# File 'lib/fluent/plugin/out_s3.rb', line 410

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.



416
417
418
# File 'lib/fluent/plugin/out_s3.rb', line 416

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



416
417
418
# File 'lib/fluent/plugin/out_s3.rb', line 416

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



428
429
# File 'lib/fluent/plugin/out_s3.rb', line 428

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



418
419
420
# File 'lib/fluent/plugin/out_s3.rb', line 418

def configure(conf)
  super
end

#content_typeObject



425
426
# File 'lib/fluent/plugin/out_s3.rb', line 425

def content_type
end

#extObject



422
423
# File 'lib/fluent/plugin/out_s3.rb', line 422

def ext
end