class LogStash::Filters::Dictionary::Memory

Attributes

dictionary[R]
fetch_strategy[R]

Public Class Methods

new(hash, exact, regex) click to toggle source
# File lib/logstash/filters/dictionary/memory.rb, line 9
def initialize(hash, exact, regex)
  klass = case
          when exact && regex then FetchStrategy::Memory::ExactRegex
          when exact          then FetchStrategy::Memory::Exact
          else                     FetchStrategy::Memory::RegexUnion
          end
  @fetch_strategy = klass.new(hash)
end

Public Instance Methods

stop_scheduler() click to toggle source
# File lib/logstash/filters/dictionary/memory.rb, line 18
def stop_scheduler
  # noop
end

Private Instance Methods

load_dictionary(raise_exception=false) click to toggle source
# File lib/logstash/filters/dictionary/memory.rb, line 28
def load_dictionary(raise_exception=false)
  # noop
end
needs_refresh?() click to toggle source
# File lib/logstash/filters/dictionary/memory.rb, line 24
def needs_refresh?
  false
end