public class ScopeDropped extends DcpSystemEvent implements DcpSystemEvent.CollectionsManifestEvent, DatabaseChangeEvent
DcpSystemEvent.CollectionsManifestEvent, DcpSystemEvent.Type| Constructor and Description |
|---|
ScopeDropped(int vbucket,
long seqno,
int version,
io.netty.buffer.ByteBuf buffer) |
| Modifier and Type | Method and Description |
|---|---|
CollectionsManifest |
apply(CollectionsManifest currentManifest) |
void |
dispatch(DatabaseChangeListener listener)
Pass this event to the appropriate method of the given listener.
|
long |
getManifestId() |
long |
getScopeId() |
String |
toString() |
getSeqno, getType, getVbucket, getVersion, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVbucketpublic ScopeDropped(int vbucket,
long seqno,
int version,
io.netty.buffer.ByteBuf buffer)
public long getManifestId()
getManifestId in interface DcpSystemEvent.CollectionsManifestEventpublic long getScopeId()
public CollectionsManifest apply(CollectionsManifest currentManifest)
apply in interface DcpSystemEvent.CollectionsManifestEventpublic 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.