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


Chapter 5 SpaceDef : SpaceDef Operations : tibasSpaceDef_SetPersistenceType()

tibasSpaceDef_SetPersistenceType()
Function
Declaration
tibas_status tibasSpaceDef_SetPersistenceType(
tibasSpaceDef         spaceDef,
tibas_persistenceType persistenceType)
Purpose
Sets the persistence type used for a specified space.
Parameters
 
Remarks
Use the tibasSpaceDef_SetPersistenceType() function to specify whether a space uses persistence, and if so, the type of persistence to use.
You can specify:
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.
See Also
tibasSpaceDef_SetPersisted(), tibasSpaceDef_IsPersisted(), tibasSpaceDef_GetPersistenceType(), tibasSpaceDef_SetPersistenceType()

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