Class EndpointDisconnectionFailedEvent

  • All Implemented Interfaces:
    Event

    public class EndpointDisconnectionFailedEvent
    extends AbstractEvent
    This event is raised if an endpoint disconnect attempt failed for some reason.
    Since:
    2.0.0
    • Constructor Detail

      • EndpointDisconnectionFailedEvent

        public EndpointDisconnectionFailedEvent​(Duration duration,
                                                EndpointContext context,
                                                Throwable cause)
        Creates a new endpoint disconnection failed event.
        Parameters:
        duration - the duration of the event.
        context - the endpoint context.
        cause - the cause of the failure.
    • Method Detail

      • cause

        public Throwable cause()
        Returns the cause of the failure.
        Returns:
        the throwable if present.
      • description

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