public class FailoverLog extends Object implements DatabaseChangeEvent
| Constructor and Description |
|---|
FailoverLog(int vbucket,
List<FailoverLogEntry> entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(DatabaseChangeListener listener)
Pass this event to the appropriate method of the given listener.
|
List<FailoverLogEntry> |
getEntries() |
int |
getVbucket()
Returns the id of the virtual bucket associated with this event,
or -1 if the event is not associated with a specific virtual bucket.
|
public FailoverLog(int vbucket,
List<FailoverLogEntry> entries)
public int getVbucket()
DatabaseChangeEventgetVbucket in interface DatabaseChangeEventpublic List<FailoverLogEntry> getEntries()
public void dispatch(DatabaseChangeListener listener)
DatabaseChangeEventThe listener is invoked immediately in the same thread that calls this method.
dispatch in interface DatabaseChangeEventCopyright © 2021 Couchbase, Inc.. All rights reserved.