Class Deletion
java.lang.Object
com.couchbase.client.dcp.highlevel.DocumentChange
com.couchbase.client.dcp.highlevel.Deletion
- All Implemented Interfaces:
DatabaseChangeEvent,FlowControllable
-
Constructor Summary
ConstructorsConstructorDescriptionDeletion(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf byteBuf, CollectionsManifest.CollectionInfo collectionInfo, String key, FlowControlReceipt receipt, StreamOffset offset, boolean dueToExpiration) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(DatabaseChangeListener listener) Pass this event to the appropriate method of the given listener.booleanMethods inherited from class com.couchbase.client.dcp.highlevel.DocumentChange
flowControlAck, getCas, getCollection, getContent, getKey, getOffset, getQualifiedKey, getRevision, getTimestamp, getTracingToken, getVbucket, getXattrs, isMutation, toString
-
Constructor Details
-
Deletion
public Deletion(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf byteBuf, CollectionsManifest.CollectionInfo collectionInfo, String key, FlowControlReceipt receipt, StreamOffset offset, boolean dueToExpiration)
-
-
Method Details
-
isDueToExpiration
public boolean isDueToExpiration() -
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.
-