Class CollectionFlushed
java.lang.Object
com.couchbase.client.dcp.message.DcpSystemEvent
com.couchbase.client.dcp.highlevel.CollectionFlushed
- All Implemented Interfaces:
DatabaseChangeEvent,DcpSystemEvent.CollectionsManifestEvent
public class CollectionFlushed
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
ConstructorsConstructorDescriptionCollectionFlushed(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
-
CollectionFlushed
public CollectionFlushed(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
-