Class MutationToken

java.lang.Object
com.couchbase.client.core.msg.kv.MutationToken
All Implemented Interfaces:
Serializable

public class MutationToken extends Object implements Serializable
Value object to contain partition details and sequence number.
Since:
1.2.0
See Also:
  • Constructor Details

    • MutationToken

      public MutationToken(short partitionID, long partitionUUID, long sequenceNumber, String bucketName)
  • Method Details

    • partitionUUID

      public long partitionUUID()
    • sequenceNumber

      public long sequenceNumber()
    • partitionID

      public short partitionID()
    • bucketName

      public String bucketName()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object