public class FailedToAddNodeEvent extends Object implements CouchbaseEvent, DcpFailureEvent
| Constructor and Description |
|---|
FailedToAddNodeEvent(HostAndPort node,
Throwable error) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
error()
Error object, describing the issue
|
HostAndPort |
node()
The address of the node
|
OptionalInt |
partition()
The partition (vbucket) which has caused issue, or empty if not specific to a vbucket
|
Map<String,Object> |
toMap()
Converts the event into a map representation of simple types.
|
String |
toString() |
EventType |
type()
The type of the event.
|
public FailedToAddNodeEvent(HostAndPort node, Throwable error)
public EventType type()
CouchbaseEventtype in interface CouchbaseEventpublic HostAndPort node()
public OptionalInt partition()
DcpFailureEventpartition in interface DcpFailureEventpublic Throwable error()
error in interface DcpFailureEventpublic Map<String,Object> toMap()
CouchbaseEventtoMap in interface CouchbaseEventCopyright © 2021 Couchbase, Inc.. All rights reserved.