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.



526
527
528
529
530
# File 'lib/fluent/plugin/out_s3.rb', line 526

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.



532
533
534
# File 'lib/fluent/plugin/out_s3.rb', line 532

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



532
533
534
# File 'lib/fluent/plugin/out_s3.rb', line 532

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



544
545
# File 'lib/fluent/plugin/out_s3.rb', line 544

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



534
535
536
# File 'lib/fluent/plugin/out_s3.rb', line 534

def configure(conf)
  super
end

#content_typeObject



541
542
# File 'lib/fluent/plugin/out_s3.rb', line 541

def content_type
end

#extObject



538
539
# File 'lib/fluent/plugin/out_s3.rb', line 538

def ext
end