Closing the Cache
Cache::close function to release system resources when you finish using the cache.
After the cache is closed, any further method calls on the cache or any region object result in a
If the cache is in a durable client, you need to use the
keepalive version of the close method. See Disconnecting From the Server.