Class NodeCreatedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.node.NodeCreatedEvent
- All Implemented Interfaces:
Event
Sent when a node is created, prior to connecting to services on the node.
- Since:
- 2.4.1
-
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
ConstructorDescriptionNodeCreatedEvent
(Duration duration, NodeContext context) Creates a new "node created" event. -
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
NodeCreatedEvent
Creates a new "node created" event.- Parameters:
duration
- the duration of the event.context
- the context.
-
-
Method Details
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-