class LogStash::Outputs::LogstashAzureBlobOutput::FileRepository::FactoryInitializer

class for initializing the repo manager

Public Class Methods

new(tags, encoding, temporary_directory, stale_time) click to toggle source

initializes the class

# File lib/logstash/outputs/blob/file_repository.rb, line 53
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

applies the prefix key

# File lib/logstash/outputs/blob/file_repository.rb, line 61
def apply(prefix_key)
  PrefixedValue.new(TemporaryFileFactory.new(prefix_key, @tags, @encoding, @temporary_directory), @stale_time)
end