Class CollectionDropped
java.lang.Object
com.couchbase.client.dcp.message.DcpSystemEvent
com.couchbase.client.dcp.highlevel.CollectionDropped
- All Implemented Interfaces:
DatabaseChangeEvent,DcpSystemEvent.CollectionsManifestEvent
public class CollectionDropped
extends DcpSystemEvent
implements DcpSystemEvent.CollectionsManifestEvent, DatabaseChangeEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.dcp.message.DcpSystemEvent
DcpSystemEvent.CollectionsManifestEvent, DcpSystemEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionCollectionDropped(int vbucket, long seqno, int version, com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
Method Summary
Modifier and TypeMethodDescriptionapply(CollectionsManifest currentManifest) voiddispatch(DatabaseChangeListener listener) Pass this event to the appropriate method of the given listener.longlonglongtoString()Methods inherited from class com.couchbase.client.dcp.message.DcpSystemEvent
getSeqno, getType, getVbucket, getVersion, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.couchbase.client.dcp.highlevel.internal.DatabaseChangeEvent
getVbucket
-
Constructor Details
-
CollectionDropped
public CollectionDropped(int vbucket, long seqno, int version, com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer)
-
-
Method Details
-
getManifestId
public long getManifestId()- Specified by:
getManifestIdin interfaceDcpSystemEvent.CollectionsManifestEvent
-
getScopeId
public long getScopeId() -
getCollectionId
public long getCollectionId() -
apply
- Specified by:
applyin interfaceDcpSystemEvent.CollectionsManifestEvent
-
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
-
toString
-