tibasSpaceDef_GetEvictionPolicy()

Returns the eviction policy set for a specified space.

Declaration

tibas_status ttibasSpaceDef_GetEvictionPolicy(
    tibasSpaceDef         spaceDef,
    tibas_evictionPolicy* evictionPolicy)

Parameters

Parameter Description
spaceDef The TIBCO ActiveSpaces entity on which the function is invoked.
evictionPolicy Returns the eviction policy to be set for the specified space.

Remarks

Use the tibasSpaceDef_GetEvictionPolicy() function to return the eviction policy that is set for a specified space.

TIBAS_EVICTION_NONE
Do not evict any tuples from the space.
TIBAS_EVICTION_LRU
Use the least recently used (LRU) algorithm to evict tuples from the space when the capacity of the space is reached.