Action, Op, OpList, ActionResult, Invocable, and LogFile Operations The following table lists the Action, Op, OpList, ActionResult, LogFile, and Invocable operations: Table 31 Action, Op, OpList, ActionResult, Invocable, and LogFile Function or Type Description Page Action Operations tibasAction_GetType() Returns the action type for a specified action. 459 tibasAction_GetTuple() For actions of the type TIBAS_ACTION_READ, returns a tuple containing the key fields for the tuple that needs to be retrieved from the persistence layer 460 tibasAction_GetSpace() Returns a valid Space object for the space that triggered this invocation of the persister function. Applicable to Actions of all types. 461 tibasAction_GetSpaceName() Returns the name of the space that triggered the invocation of the persister function. Applicable to Actions of all types. 462 tibasAction_GetOps() For actions of the type TIBAS_ACTION_WRITE, returns a list of operations to apply to the persistence layer. 463 tibasAction_Free() Frees a specified action object. 464 Op Operations tibasOp_GetType() Returns the type of a specified persistence operation. 465 tibasOp_GetTuple() Returns the tuple associated with a specified Op. Applicable to all types of Op. 466 tibasOp_GetOldTuple() For Ops of the type TIBAS_OP_PUT, returns the oldTuple that was overwritten (updated) by the put if there was one, or NULL (if the put was an insert). 467 tibasOp_HasOldTuple() For applicable to Ops of the type TIBAS_OP_PUT, indicates whether the put operation overwrote and existing tuple. 468 tibasOp_Free() Frees a specified Op object. 469 OpList Operations tibasOpList_Size() Returns the number of ops in a specified OpList object. 470 tibasOpList_Get() Returns the Op stored at a specified position index in an Op list. 471 tibasOpList_Free() Frees a specified OpList. 472 ActionResult Operations tibasActionResult_SetFailed() Sets the state of the ActionResult to failed. 473 tibasActionResult_GetStatus() Reserved for future use. 474 tibasActionResult_SetTuple() Stores a tuple retrieved from persisted storage into an action result object. 475 tibasActionResult_GetTuple() Reserved for future use. 476 Invocable Operations tibas_SetInvocable() Specifies the name of an application function to be invoked. 477 tibas_SetMemberInvocable() Specifies the name of an application function to be invoked on a specified space member. 479 LogLevel Operations tibas_SetLogLevel() Sets the log level used by ActiveSpaces. 481 tibas_GetLogLevel() Returns the log level used by ActiveSpaces. 482 tibas_EnableFileLogging() Enables logging of specified log level messages to a specified log file. 483 tibas_DisableFileLogging() Disables file logging. 484