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



238
239
240
241
242
# File 'lib/fluent/plugin/out_s3.rb', line 238

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.



244
245
246
# File 'lib/fluent/plugin/out_s3.rb', line 244

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



244
245
246
# File 'lib/fluent/plugin/out_s3.rb', line 244

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



256
257
# File 'lib/fluent/plugin/out_s3.rb', line 256

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



246
247
248
# File 'lib/fluent/plugin/out_s3.rb', line 246

def configure(conf)
  super
end

#content_typeObject



253
254
# File 'lib/fluent/plugin/out_s3.rb', line 253

def content_type
end

#extObject



250
251
# File 'lib/fluent/plugin/out_s3.rb', line 250

def ext
end