![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibas_status tibasSpace_CompareAndPutAllEx(
Provide a tibasPutOptions structure that specifies the options for the put.Use the tibasSpace_CompareAndPutAllEx() function to compare the values in the tuples in a space with values stored in an old value list, and if a value is unmodified, replace it with the value in the newValueList. Allows you to set lock and lock wait attributes for the tuples.tibasSpace_CompareAndPutAllEx() also allows you to specify additional options for the operation, by passing a tibasPutOptions structure in the options parameter. The tibasPutOptions structure is defined as follows:
• entryTTL Allows you to define the entry TTL for the tuple that is being put.
• lockWait Specifies a lock wait time, in milliseconds.
• lock Put the data and lock the tuple.
• unlock Unlock the tuple. Only the thread or process that locked the tuple can unlock it.
• forget Specify this option if you want the system to forget the return. This is useful if you do not need the tuple.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |