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.



343
344
345
346
347
# File 'lib/fluent/plugin/out_s3.rb', line 343

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.



349
350
351
# File 'lib/fluent/plugin/out_s3.rb', line 349

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



349
350
351
# File 'lib/fluent/plugin/out_s3.rb', line 349

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



361
362
# File 'lib/fluent/plugin/out_s3.rb', line 361

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



351
352
353
# File 'lib/fluent/plugin/out_s3.rb', line 351

def configure(conf)
  super
end

#content_typeObject



358
359
# File 'lib/fluent/plugin/out_s3.rb', line 358

def content_type
end

#extObject



355
356
# File 'lib/fluent/plugin/out_s3.rb', line 355

def ext
end