All Implemented Interfaces:
Runnable, CompletionStage<Long>, Future<Long>, HotRodConstants, ChannelOperation

public class AddOperation extends RetryOnFailureOperation<Long>
Add operation.

Adds the delta to the counter's value and returns the result.

It can throw a CounterOutOfBoundsException if the counter is bounded and the it has been reached.

Since:
9.2
Author:
Pedro Ruivo