Class UnexpectedEndpointDisconnectedEvent

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

public class UnexpectedEndpointDisconnectedEvent extends AbstractEvent
This event is usually raised if the server closes the socket and the client didn't expect it.
  • Constructor Details

    • UnexpectedEndpointDisconnectedEvent

      public UnexpectedEndpointDisconnectedEvent(EndpointContext context, int outstandingBeforeInactive, long connectedForNs)
  • 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.
    • context

      public Context context()
      Description copied from interface: Event
      The context this event is referencing.
      Specified by:
      context in interface Event
      Overrides:
      context in class AbstractEvent
      Returns:
      the referencing context.