Class NodeDisconnectedEvent

java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.node.NodeDisconnectedEvent
All Implemented Interfaces:
Event

public class NodeDisconnectedEvent extends AbstractEvent
This event is generated when a node is correctly disconnected.
Since:
2.0.0
  • Constructor Details

    • NodeDisconnectedEvent

      public NodeDisconnectedEvent(Duration duration, NodeContext context)
      Creates a new node disconnected event.
      Parameters:
      duration - the duration of the event.
      context - the context.
  • Method Details

    • description

      public String description()
      Description copied from interface: Event
      A textual description with more information about the event.
      Returns:
      the description, if set.