Class EndpointConnectedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.endpoint.EndpointConnectedEvent
- All Implemented Interfaces:
Event
This event is published when an endpoint is connected properly.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
Field Summary
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
Constructor Summary
ConstructorDescriptionEndpointConnectedEvent
(Duration duration, EndpointContext context, SortedMap<String, Duration> timings) -
Method Summary
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
EndpointConnectedEvent
public EndpointConnectedEvent(Duration duration, EndpointContext context, SortedMap<String, Duration> timings)
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
timings
Returns the timings captured as part of the endpoint connection process.- Returns:
- the connect timings if present.
-