Class CounterKey


  • public class CounterKey
    extends Key<java.lang.Integer>
    • Method Detail

      • increment

        @CheckReturnValue
        public UpdateOp increment​(long inc)
        Creates an update operation, which increments the counter by the given amount. Use negative values to decrement the counter.

        Use the methods on Bucket to execute the update.