arithmetic


Description:

public StatusResponse arithmetic (void* command_cookie = null, ArithmeticCommand*[] commands)

Perform arithmetic operation on a keys value.

Example:

  ArithmeticCommand ac = ArithmeticCommand() {
key = "my-key",
initial = 0x666,
create = 1,
delta = 1
};
ArithmeticCommand*[] commands = { &ac };
instance.arithmetic( null, commands );

Parameters:

command_cookie

A cookie passed to all of the notifications from this command

commands

the array containing the items to operate on

Returns:

Status of the operation.