Module: Aerospike::CDT::BitOverflowAction

Defined in:
lib/aerospike/cdt/bit_overflow_action.rb

Overview

BitOverflowAction specifies the action to take when bitwise add/subtract results in overflow/underflow.

Constant Summary collapse

FAIL =

Fail specifies to fail operation with error.

0
SATURATE =

SATURATE specifies that in add/subtract overflows/underflows, set to max/min value. Example: MAXINT + 1 = MAXINT

2
WRAP =

Wrap specifies that in add/subtract overflows/underflows, WRAP the value. Example: MAXINT + 1 = -1

4
DEFAULT =

Default behavior

FAIL