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.



160
161
162
163
164
# File 'lib/fluent/plugin/out_s3.rb', line 160

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.



166
167
168
# File 'lib/fluent/plugin/out_s3.rb', line 166

def buffer_type
  @buffer_type
end

#logObject (readonly)

Returns the value of attribute log.



166
167
168
# File 'lib/fluent/plugin/out_s3.rb', line 166

def log
  @log
end

Instance Method Details

#compress(chunk, tmp) ⇒ Object



178
179
# File 'lib/fluent/plugin/out_s3.rb', line 178

def compress(chunk, tmp)
end

#configure(conf) ⇒ Object



168
169
170
# File 'lib/fluent/plugin/out_s3.rb', line 168

def configure(conf)
  super
end

#content_typeObject



175
176
# File 'lib/fluent/plugin/out_s3.rb', line 175

def content_type
end

#extObject



172
173
# File 'lib/fluent/plugin/out_s3.rb', line 172

def ext
end