public class EndpointDisconnectionFailedEvent extends AbstractEvent
Event.Category, Event.Severity
CATEGORY_PREFIX
Constructor and Description |
---|
EndpointDisconnectionFailedEvent(Duration duration,
EndpointContext context,
Throwable cause)
Creates a new endpoint disconnection failed event.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
cause()
Returns the cause of the failure.
|
String |
description()
A textual description with more information about the event.
|
public EndpointDisconnectionFailedEvent(Duration duration, EndpointContext context, Throwable cause)
duration
- the duration of the event.context
- the endpoint context.cause
- the cause of the failure.Copyright © 2020 Couchbase, Inc.. All rights reserved.