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.



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

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.



433
434
435
# File 'lib/fluent/plugin/out_s3.rb', line 433

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



433
434
435
# File 'lib/fluent/plugin/out_s3.rb', line 433

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



445
446
# File 'lib/fluent/plugin/out_s3.rb', line 445

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



435
436
437
# File 'lib/fluent/plugin/out_s3.rb', line 435

def configure(conf)
  super
end

#content_typeObject



442
443
# File 'lib/fluent/plugin/out_s3.rb', line 442

def content_type
end

#extObject



439
440
# File 'lib/fluent/plugin/out_s3.rb', line 439

def ext
end