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