Class StreamFailure
java.lang.Object
com.couchbase.client.dcp.highlevel.StreamFailure
- All Implemented Interfaces:
DatabaseChangeEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(DatabaseChangeListener listener) Pass this event to the appropriate method of the given listener.getCause()intReturns the partition that experience the failure, or -1 if the failure is not specific to a partition.
-
Constructor Details
-
StreamFailure
-
-
Method Details
-
dispatch
Description copied from interface:DatabaseChangeEventPass this event to the appropriate method of the given listener.The listener is invoked immediately in the same thread that calls this method.
- Specified by:
dispatchin interfaceDatabaseChangeEvent
-
getCause
-
getVbucket
public int getVbucket()Returns the partition that experience the failure, or -1 if the failure is not specific to a partition.- Specified by:
getVbucketin interfaceDatabaseChangeEvent
-