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

Version Path
logstash-core-7.5.2-java lib/logstash/event.rb
logstash-core-7.5.1-java lib/logstash/event.rb
logstash-core-7.5.0-java lib/logstash/event.rb
logstash-core-7.4.2-java lib/logstash/event.rb
logstash-core-7.4.1-java lib/logstash/event.rb
logstash-core-7.4.0-java lib/logstash/event.rb
logstash-core-7.3.2-java lib/logstash/event.rb
logstash-core-7.3.1-java lib/logstash/event.rb
logstash-core-7.3.0-java lib/logstash/event.rb
logstash-core-7.2.1-java lib/logstash/event.rb
logstash-core-7.2.0-java lib/logstash/event.rb
logstash-core-7.1.1-java lib/logstash/event.rb
logstash-core-7.1.0-java lib/logstash/event.rb
logstash-core-7.0.1-java lib/logstash/event.rb
logstash-core-7.0.0-java lib/logstash/event.rb
logstash-core-7.0.0.rc2-java lib/logstash/event.rb
logstash-core-7.0.0.rc1-java lib/logstash/event.rb
logstash-core-7.0.0.beta1-java lib/logstash/event.rb
logstash-core-7.0.0.alpha2-java lib/logstash/event.rb
logstash-core-7.0.0.alpha1-java lib/logstash/event.rb