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.



269
270
271
272
273
# File 'lib/fluent/plugin/out_s3.rb', line 269

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.



275
276
277
# File 'lib/fluent/plugin/out_s3.rb', line 275

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



275
276
277
# File 'lib/fluent/plugin/out_s3.rb', line 275

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



287
288
# File 'lib/fluent/plugin/out_s3.rb', line 287

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



277
278
279
# File 'lib/fluent/plugin/out_s3.rb', line 277

def configure(conf)
  super
end

#content_typeObject



284
285
# File 'lib/fluent/plugin/out_s3.rb', line 284

def content_type
end

#extObject



281
282
# File 'lib/fluent/plugin/out_s3.rb', line 281

def ext
end