RegionEvent (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache, interface: RegionEvent

Package org.apache.geode.cache

# Interface RegionEvent<K,V>

All Superinterfaces:
  `CacheEvent<K,V>`

All Known Subinterfaces:
  `RoleEvent<K,V>`

public interface RegionEvent<K,V> extends CacheEvent<K,V>
Contains information about an event affecting a region, including its identity and the circumstances of the event. This is passed in to `CacheListener` and `CacheWriter`.

Since:
  GemFire 2.0
See Also:
  - `CacheListener`
  - `CacheWriter`
  - `EntryEvent`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isReinitializing()`
  Return true if this region was destroyed but is being reinitialized, for example if a snapshot was just loaded.

  ### Methods inherited from interface org.apache.geode.cache.CacheEvent

  `getCallbackArgument, getDistributedMember, getOperation, getRegion, isCallbackArgumentAvailable, isOriginRemote`

- ## Method Details

  - ### isReinitializing

    boolean isReinitializing()
    Return true if this region was destroyed but is being reinitialized, for example if a snapshot was just loaded. Can only return true for an event related to region destruction.
    Returns:
      whether this region was destroyed but is being reinitialized