public class SnapshotDetails extends Object implements DatabaseChangeEvent
| Constructor and Description |
|---|
SnapshotDetails(int vbucket,
int flags,
SnapshotMarker marker) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(DatabaseChangeListener listener)
Pass this event to the appropriate method of the given listener.
|
Set<SnapshotMarkerFlags> |
getFlags() |
int |
getFlagsAsInt() |
SnapshotMarker |
getMarker() |
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 SnapshotDetails(int vbucket,
int flags,
SnapshotMarker marker)
public void dispatch(DatabaseChangeListener listener)
DatabaseChangeEventThe listener is invoked immediately in the same thread that calls this method.
dispatch in interface DatabaseChangeEventpublic int getVbucket()
DatabaseChangeEventgetVbucket in interface DatabaseChangeEventpublic Set<SnapshotMarkerFlags> getFlags()
public int getFlagsAsInt()
public SnapshotMarker getMarker()
Copyright © 2021 Couchbase, Inc.. All rights reserved.