RegionLocalDestroyRegion Method (IGFSerializable) |
Destroys the whole local region and provides a user-defined parameter
object to any ICacheWriter invoked in the process.
The region destroy is not distributed to other caches.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic void LocalDestroyRegion(
IGFSerializable callback
)
Public Sub LocalDestroyRegion (
callback As IGFSerializable
)
public:
void LocalDestroyRegion(
IGFSerializable^ callback
)
member LocalDestroyRegion :
callback : IGFSerializable -> unit
Parameters
- callback
- Type: GemStone.GemFire.CacheIGFSerializable
a user-defined parameter to pass to callback events triggered by this call
ExceptionsException | Condition |
---|
CacheWriterException |
if a CacheWriter aborts the operation; if this occurs some
subregions may have already been successfully destroyed.
|
CacheListenerException |
if CacheListener throws an exception; if this occurs some
subregions may have already been successfully invalidated
|
Remarks
Destroy cascades to all entries and subregions. After the destroy,
any attempt to use
this region object will get a RegionDestroyedException.
Does not update any CacheStatistics.
See Also