Sha256: 5adcad65165c3d065849f5ebf74ac1269c627ff3130c0095f72f17daf15fbe27
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 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) if exact @fetch_strategy = regex ? FetchStrategy::Memory::ExactRegex.new(hash) : FetchStrategy::Memory::Exact.new(hash) else @fetch_strategy = FetchStrategy::Memory::RegexUnion.new(hash) end 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
3 entries across 3 versions & 1 rubygems