class LogStash::Outputs::Swift::FileRepository::FactoryInitializer
Public Class Methods
new(tags, encoding, temporary_directory, stale_time)
click to toggle source
# File lib/logstash/outputs/swift/file_repository.rb, line 45 def initialize(tags, encoding, temporary_directory, stale_time) @tags = tags @encoding = encoding @temporary_directory = temporary_directory @stale_time = stale_time end
Public Instance Methods
apply(prefix_key)
click to toggle source
# File lib/logstash/outputs/swift/file_repository.rb, line 52 def apply(prefix_key) PrefixedValue.new(TemporaryFileFactory.new(prefix_key, @tags, @encoding, @temporary_directory), @stale_time) end