Class PartitionUpdate.CounterMark

  • Enclosing class:
    PartitionUpdate

    public static class PartitionUpdate.CounterMark
    extends java.lang.Object
    A counter mark is basically a pointer to a counter update inside this partition update. That pointer allows us to update the counter value based on the pre-existing value read during the read-before-write that counters do. See CounterMutation to understand how this is used.
    • Method Detail

      • value

        public java.nio.ByteBuffer value()
      • setValue

        public void setValue​(java.nio.ByteBuffer value)