Class SetOperation

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

public class SetOperation extends RetryOnFailureOperation<Long>
Set operation.

Sets the value to the counter's value and returns the old value.

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

Since:
15.0
Author:
Dipanshu Gupta