Sha256: ef652d97b683e9917b0a57bf424a2d25ba117e64b691e4a999678eea8f535474
Contents?: true
Size: 581 Bytes
Versions: 20
Compression:
Stored size: 581 Bytes
Contents
# encoding: utf-8 # used only in the Ruby execution engine module LogStash class SignalEvent def flush?; raise "abstract method"; end; def shutdown?; raise "abstract method"; end; end class ShutdownEvent < SignalEvent def flush?; false; end; def shutdown?; true; end; end class FlushEvent < SignalEvent def flush?; true; end; def shutdown?; false; end; end class NoSignal < SignalEvent def flush?; false; end; def shutdown?; false; end; end FLUSH = FlushEvent.new SHUTDOWN = ShutdownEvent.new NO_SIGNAL = NoSignal.new end
Version data entries
20 entries across 20 versions & 1 rubygems