IRegionTKey, TValueInvalidateRegion Method |
Namespace: GemStone.GemFire.Cache.Generic
Exception | Condition |
---|---|
CacheListenerException | if CacheListener throws an exception; if this occurs some subregions may have already been successfully invalidated |
NotConnectedException | if not connected to the GemFire system because the client cannot establish usable connections to any of the servers given to it. For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException. |
RegionDestroyedException | if this region has been destroyed |
The invalidation will cascade to all the subregions and cached entries. The region and the entries in it will still exist. For local region instance - invalidates this region without distributing to other caches. For distributed region instance - Invalidates this region and this operation is propogated to the Gemfire cache server to which it is connected with.
To remove all the entries and the region, use DestroyRegion.
Does not update any CacheStatistics.