Class NodeConnectedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.node.NodeConnectedEvent
-
- All Implemented Interfaces:
Event
@Deprecated public class NodeConnectedEvent extends AbstractEvent
Deprecated.This event is sent when a node is created, which happens before network connections are established. To avoid confusion, this event is deprecated in favor of the more appropriately namedNodeCreatedEvent.Sent when a node is created, prior to connecting to services on the node.- 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
Constructors Constructor Description NodeConnectedEvent(Duration duration, NodeContext context)Deprecated.Creates a new node connected event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringdescription()Deprecated.A 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 Detail
-
NodeConnectedEvent
public NodeConnectedEvent(Duration duration, NodeContext context)
Deprecated.Creates a new node connected event.- Parameters:
duration- the duration of the event.context- the context.
-
-