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


Chapter 25      Persister, Action, Op, OpList, ActionResult, LogLevel, and Recovery Functions : Action, Op, OpList, ActionResult, Invocable, and LogFile Operations : tibasAction_GetType()

tibasAction_GetType()
Function
Declaration
tibas_status tibasAction_GetType
     (tibasAction       action,
      tibas_actionType* actionType)
Purpose
Returns the action type for a specified action.
Parameters
 
Remarks
Use the tibasAction_GetType() function to determine the action type for a specified action. Your persister function can use the action type to determine what steps to take to persist data.
The action type can be one of the following:
TIBAS_ACTION_OPEN Indicates that a persister object is registered with the space.
TIBAS_ACTION_LOAD Indicates that a persister object is registered with a space
TIBAS_ACTION_WRITE  Indicates that a tuple stored in the space is modified (due to a put, take, or update operation).
TIBAS_ACTION_READ Indicates that the space has a capacity set and a capacity policy of EVICT, and a request to read, lock, or take a tuple by key value did not result in a matching tuple being found in the space.
TIBAS_ACTION_CLOSE Indicates that a persister object is stopped for a space.
See Also
tibasAction_GetOps()tibasActionResult_GetStatus()
 

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