public class SeqnoAdvanced extends Object implements DatabaseChangeEvent
| Constructor and Description |
|---|
SeqnoAdvanced(int vbucket,
StreamOffset offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(DatabaseChangeListener listener)
Pass this event to the appropriate method of the given listener.
|
StreamOffset |
getOffset() |
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 SeqnoAdvanced(int vbucket,
StreamOffset offset)
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 StreamOffset getOffset()
Copyright © 2021 Couchbase, Inc.. All rights reserved.