ICacheLoader TKey, TValue  Close Method Pivotal GemFire .NET Client Documentation
Called when the region containing this callback is destroyed, when the cache is closed.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version:

void Close(
	IRegion<TKey, TValue> region


Type: GemStone.GemFire.Cache.Generic IRegion TKey, TValue 

Implementations should clean up any external resources, such as database connections. Any runtime exceptions this method throws will be logged.

It is possible for this method to be called multiple times on a single callback instance, so implementations must be tolerant of this.

See Also