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.



451
452
453
454
455
# File 'lib/fluent/plugin/out_s3.rb', line 451

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.



457
458
459
# File 'lib/fluent/plugin/out_s3.rb', line 457

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



457
458
459
# File 'lib/fluent/plugin/out_s3.rb', line 457

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



469
470
# File 'lib/fluent/plugin/out_s3.rb', line 469

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



459
460
461
# File 'lib/fluent/plugin/out_s3.rb', line 459

def configure(conf)
  super
end

#content_typeObject



466
467
# File 'lib/fluent/plugin/out_s3.rb', line 466

def content_type
end

#extObject



463
464
# File 'lib/fluent/plugin/out_s3.rb', line 463

def ext
end