Sha256: c8dec275f0f78b33f50af836d16368d08c134fa911f05c668df4181dfa6ecaf0

Contents?: true

Size: 944 Bytes

Versions: 29

Compression:

Stored size: 944 Bytes

Contents

# encoding: utf-8

require "logstash/namespace"
require "logstash/json"
require "logstash/string_interpolation"
require "cabin"

# transcient pipeline events for normal in-flow signaling as opposed to
# flow altering exceptions. for now having base classes is adequate and
# in the future it might be necessary to refactor using like a BaseEvent
# class to have a common interface for all pileline events to support
# eventual queueing persistence for example, TBD.
class LogStash::ShutdownEvent; end
class LogStash::FlushEvent; end

module LogStash
  FLUSH = LogStash::FlushEvent.new

  # LogStash::SHUTDOWN is used by plugins
  SHUTDOWN = LogStash::ShutdownEvent.new
end

# for backward compatibility, require "logstash/event" is used a lots of places so let's bootstrap the
# Java code loading from here.
# TODO: (colin) I think we should mass replace require "logstash/event" with require "logstash-core-event"
require "logstash-core-event"

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
logstash-core-event-java-2.3.1.snapshot1-java lib/logstash/event.rb
logstash-core-event-java-5.0.0.alpha1-java lib/logstash/event.rb
logstash-core-event-java-5.0.0.alpha1.snapshot2-java lib/logstash/event.rb
logstash-core-event-java-5.0.0.alpha1.snapshot1-java lib/logstash/event.rb
logstash-core-event-java-2.3.0-java lib/logstash/event.rb
logstash-core-event-java-2.3.0.snapshot5-java lib/logstash/event.rb
logstash-core-event-java-2.3.0.snapshot4-java lib/logstash/event.rb
logstash-core-event-java-2.3.0.snapshot3-java lib/logstash/event.rb
logstash-core-event-java-2.3.0.snapshot1-java lib/logstash/event.rb