Interface CouchbaseEvent

All Known Implementing Classes:
BucketClosedEvent, BucketOpenedEvent, ConfigUpdatedEvent, LatencyMetricsEvent, NetworkLatencyMetricsEvent, NodeConnectedEvent, NodeDisconnectedEvent, RuntimeMetricsEvent, TooManyEnvironmentsEvent

public interface CouchbaseEvent
Defines the generic couchbase event pushed through the event bus.
Since:
1.1.0
Author:
Michael Nitschinger
  • Method Summary

    Modifier and Type Method Description
    Map<String,​Object> toMap()
    Converts the event into a map representation of simple types.
    EventType type()
    The type of the event.
  • Method Details

    • type

      EventType type()
      The type of the event.
      Returns:
      the event type.
    • toMap

      Map<String,​Object> toMap()
      Converts the event into a map representation of simple types.
      Returns:
      the map representation.