Same as CompareAndPut(Tuple, Tuple) with PutOptions to specify put options
Namespace: Com.Tibco.As.SpaceAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.1.0.0 (2.1)
Syntax
C# |
---|
Tuple CompareAndPut( Tuple oldTuple, Tuple newTuple, PutOptions putOpts ) |
Visual Basic |
---|
Function CompareAndPut ( _ oldTuple As Tuple, _ newTuple As Tuple, _ putOpts As PutOptions _ ) As Tuple |
Visual C++ |
---|
Tuple^ CompareAndPut( Tuple^ oldTuple, Tuple^ newTuple, PutOptions^ putOpts ) |
Parameters
- oldTuple
- Type: Com.Tibco.As.Space..::..Tuple
Old value. This tuple is allowed to be null. This indicates user wants the operation to be successful only if there is no value for it
- newTuple
- Type: Com.Tibco.As.Space..::..Tuple
New value to replace on success
- putOpts
- Type: Com.Tibco.As.Space..::..PutOptions
Put options to specify custom lock wait, lock/unlock options. Forget option is ignored since on a mismatch ActiveSpaces needs to return actual value