tibasSpaceDef_GetPersistenceType()

Returns the type of persistence currently set for a specified space.

Declaration

tibas_status tibasSpaceDef_GetPersistenceType(
    tibasSpaceDef spaceDef,
    tibas_persistenceType* persistenceType)

Parameters

Parameter Description
spaceDef The TIBCO ActiveSpaces entity on which the function is invoked.
persistenceType Returns the persistence type that is currently set for the space.

Remarks

Use the tibasSpaceDef_GetPersistenceType() function to return the type of persistence currently set for a specified space.

The persistence type can be one of the following:

TIBAS_PERSISTENCE_NONE
Do not persist objects in the space.
TIBAS_PERSISTENCE_SHARED_ALL (1)
Use shared-all persistence. With shared-all persistence, each node that joins a space as a seeder maintains a copy of the space data on disk. Each node that joins as a seeder writes its data to disk and reads the data when needed for recovery and for cache misses
TIBAS_PERSISTENCE_SHARED_NOTHING (2)
Use shared-nothing persistence. With shared all persistence, all nodes share a single persister or a set of persisters.