All Implemented Interfaces:
CompletionStage<Long>, Future<Long>, HotRodOperation<Long>, HotRodConstants

public class AddOperation extends AbstractNoCacheHotRodOperation<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