Purpose
Set the attribute for whether records will
be forced to auxiliary storage when they are enqueued.
Syntax
unsigned int CWB_ENTRY cwbDQ_SetForceToStorage(
cwbDQ_Attr queueAttributes,
cwb_Boolean forceToStorage);
Parameters
- cwbDQ_Attr queueAttributes - input
- Handle of the data queue attributes returned by a previous call to cwbDQ_CreateAttr.
- cwb_Boolean forceToStorage - input
- Boolean indicator of whether each record is forced to auxiliary storage
when it is enqueued.
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWBDQ_INVALID_ATTRIBUTE_HANDLE
- Invalid attributes handle.