Package com.couchbase.client.dcp.events
Class FailedToAddNodeEvent
java.lang.Object
com.couchbase.client.dcp.events.FailedToAddNodeEvent
- All Implemented Interfaces:
CouchbaseEvent,DcpFailureEvent
Event published when the connector has failed to add new node during failover/rebalance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()Error object, describing the issuenode()The address of the nodeThe partition (vbucket) which has caused issue, or empty if not specific to a vbuckettoMap()Converts the event into a map representation of simple types.toString()type()The type of the event.
-
Constructor Details
-
FailedToAddNodeEvent
-
-
Method Details
-
type
Description copied from interface:CouchbaseEventThe type of the event.- Specified by:
typein interfaceCouchbaseEvent- Returns:
- the event type.
-
node
The address of the node -
partition
Description copied from interface:DcpFailureEventThe partition (vbucket) which has caused issue, or empty if not specific to a vbucket- Specified by:
partitionin interfaceDcpFailureEvent
-
error
Error object, describing the issue- Specified by:
errorin interfaceDcpFailureEvent
-
toMap
Description copied from interface:CouchbaseEventConverts the event into a map representation of simple types.- Specified by:
toMapin interfaceCouchbaseEvent- Returns:
- the map representation.
-
toString
-