Class Mutation
java.lang.Object
com.couchbase.client.dcp.highlevel.DocumentChange
com.couchbase.client.dcp.highlevel.Mutation
- All Implemented Interfaces:
DatabaseChangeEvent,FlowControllable
-
Constructor Summary
ConstructorsConstructorDescriptionMutation(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf byteBuf, CollectionsManifest.CollectionInfo collectionInfo, String key, FlowControlReceipt receipt, StreamOffset offset) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(DatabaseChangeListener listener) Pass this event to the appropriate method of the given listener.intintintbooleanisJson()Methods 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
-
Mutation
public Mutation(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf byteBuf, CollectionsManifest.CollectionInfo collectionInfo, String key, FlowControlReceipt receipt, StreamOffset offset)
-
-
Method Details
-
getExpiry
public int getExpiry() -
getLockTime
public int getLockTime() -
getFlagsAsInt
public int getFlagsAsInt() -
isJson
public boolean isJson() -
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.
-