Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Space : Space Operations and Options Initialization Operations : tibasSpace_PutAllEx()

tibasSpace_PutAllEx()
Function
Declaration
tibas_status tibasSpace_PutAllEx(
tibasSpace space,
tibasSpaceResultList* resultList,
tibasTupleList valueList,
tibasPutOptions options)
Purpose
The enhanced batch version of the put operation. Stores all of the tuples in the provided list and returns a list of results. Allows you to specify a lock wait value, a lock or unlock value, and a forget value.
Parameters
 
Provide a tibasPutOptions structure that specifies the options for the put.
Remarks
Use the tibasSpace_PutAllEx() function to put the tuples in a provided list in a specified space and return a list of results. In addition, you can specify lock, wait, and forget options for the operation.
The put options are specified in a tibasPutOptions structure that specifies the options for the put. The tibasPutOptions structure is defined as follows:
struct _tibasPutOptions {
    tibas_long    entryTTL;
tibas_long    lockWait;
tibas_boolean lock;
tibas_boolean unlock;
tibas_boolean forget;
};
The put options are 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.
Lock and unlock are mutually exclusive. If you use one of these, code NULL for the other.
forget Specify this option if you want the system to forget the return. This is useful if you do not need the tuple.
See Also
tibasSpace_Put(), tibasSpace_PutEx(),tibasSpace_PutAll(), tibasSpace_CompareAndPut(), tibasSpace_CompareAndPutEx()tibasSpace_CompareAndPutAll(), tibasSpace_CompareAndPutAllEx()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved