Class FailoverLog
java.lang.Object
com.couchbase.client.dcp.highlevel.FailoverLog
- 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.intReturns the id of the virtual bucket associated with this event, or -1 if the event is not associated with a specific virtual bucket.
-
Constructor Details
-
FailoverLog
-
-
Method Details
-
getVbucket
public int getVbucket()Description copied from interface:DatabaseChangeEventReturns the id of the virtual bucket associated with this event, or -1 if the event is not associated with a specific virtual bucket.- Specified by:
getVbucketin interfaceDatabaseChangeEvent
-
getEntries
-
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
-