public class FailedToMovePartitionEvent extends Object implements CouchbaseEvent, DcpFailureEvent
| Constructor and Description |
|---|
FailedToMovePartitionEvent(int partition,
Throwable error) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
error()
Error object, describing the issue
|
OptionalInt |
partition()
The partition ID which has caused issue
|
Map<String,Object> |
toMap()
Converts the event into a map representation of simple types.
|
String |
toString() |
EventType |
type()
The type of the event.
|
public FailedToMovePartitionEvent(int partition,
Throwable error)
public EventType type()
CouchbaseEventtype in interface CouchbaseEventpublic Map<String,Object> toMap()
CouchbaseEventtoMap in interface CouchbaseEventpublic OptionalInt partition()
partition in interface DcpFailureEventpublic Throwable error()
error in interface DcpFailureEventCopyright © 2021 Couchbase, Inc.. All rights reserved.