This API sets the isPersistable property of the cache which is used to check if the cache is implicitly persistable.
public void setIsPersistable (boolean value) throws CacheException
Try{
ILogger logger = new Logger();
ICache cache =new Cache(getApplicationContext(),logger);
cache.setIsPersistable(true);
}
Catch(CacheException e){
}