Sha256: f63006e32c09e9424a70c40d9940babfce0e8c5c5fd1a1d0cd2fe67f182f26d1
Contents?: true
Size: 706 Bytes
Versions: 6
Compression:
Stored size: 706 Bytes
Contents
# encoding: utf-8 require "logstash/filters/fetch_strategy/memory" module LogStash module Filters module Dictionary class Memory attr_reader :dictionary, :fetch_strategy 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 def stop_scheduler # noop end private def needs_refresh? false end def load_dictionary(raise_exception=false) # noop end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems