Calling JDECACHE APIs
JDECHACHE APIs must be called in a certain order. This list defines the order in which the JDECACHE-related APIs must be called:
Call JDB_InitBhvr.
Create index or indices.
Call jdeCacheInit, jdeCacheInitEx, jdeCacheInitMultipleIndex, or jdeCacheInitMultipleIndexEx.
Call jdeCacheAdd.
Call jdeCacheOpenCursor.
Call JDECACHE Operations.
At JDECACHE Operations, the actual JDECACHE APIs can be called in any order. The operations in this list of JDECACHE operations can occur in any order:
jdeCacheFetch
jdeCacheOpenCursor (the second cursor)
jdeCacheFetchPosition
jdeCacheUpdate
jdeCacheDelete
jdeCacheDeleteAll
jdeCacheResetCursor
jdeCacheCloseCursor (if the second cursor is opened)
jdeCacheCloseCursor
jdeCacheTerminate
JDB_FreeBhvr