The CacheLifeCycleManager provides the ability to control the life cycle of the cache. Cache initialization, clean, and shut down interfaces are provided as part of this interface.
The CacheLifeCycleManager interface as it is described in this section is relevant only if you are using GigaSpaces 5.0 and earlier versions. If you are using GigaSpaces 5.1 and onwards, refer to the Read-Through and Write-Through section.
Return Value
Method
void
eraseAll()
Called when the space is cleaned – this might clean all secondary data storage.
void
init(java.lang.String dbURL, java.lang.String user, java.lang.String password, java.util.Properties properties)
Called when the space is started – this can load data from the secondary data storage into the space.
void
shutdown()
Called when the space is shut down.
Wiki Content Tree
Your Feedback Needed!
We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.
Add Comment