ICacheListener with empty implementations. Applications can subclass this class and only override the methods for the events of interest. Public Member Functions | |
| virtual void | AfterCreate (EntryEvent^ ev) |
| virtual void | AfterDestroy (EntryEvent^ ev) |
| virtual void | AfterInvalidate (EntryEvent^ ev) |
| virtual void | AfterRegionDestroy (RegionEvent^ ev) |
| virtual void | AfterRegionInvalidate (RegionEvent^ ev) |
| virtual void | AfterRegionLive (RegionEvent^ ev) |
| virtual void | AfterUpdate (EntryEvent^ ev) |
| virtual void | Close (Region^ region) |
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterCreate | ( | EntryEvent^ | ev | ) | [inline, virtual] |
Handles the event of a new key being added to a region.
The entry did not previously exist in this region in the local cache (even with a null value).
This function does not throw any exception.
| ev | Denotes the event object associated with the entry creation. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterDestroy | ( | EntryEvent^ | ev | ) | [inline, virtual] |
Handles the event of an entry being destroyed.
| ev | EntryEvent denotes the event object associated with the entry destruction. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterInvalidate | ( | EntryEvent^ | ev | ) | [inline, virtual] |
Handles the event of an entry's value being invalidated.
| ev | EntryEvent denotes the event object associated with the entry invalidation. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterRegionDestroy | ( | RegionEvent^ | ev | ) | [inline, virtual] |
Handles the event of a region being destroyed.
Events are not invoked for each individual entry that is destroyed as a result of the region being destroyed. Each subregion, however, gets its own AfterRegionDestroyed event invoked on its listener.
| ev | RegionEvent denotes the event object associated with the region destruction. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterRegionInvalidate | ( | RegionEvent^ | ev | ) | [inline, virtual] |
Handles the event of a region being invalidated.
Events are not invoked for each individual value that is invalidated as a result of the region being invalidated. Each subregion, however, gets its own RegionInvalidated event invoked on its listener.
| ev | RegionEvent denotes the event object associated with the region invalidation. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterRegionLive | ( | RegionEvent^ | ev | ) | [inline, virtual] |
Handles the event of a region going live.
Each subregion gets its own AfterRegionLive event invoked on its listener.
| ev | RegionEvent denotes the event object associated with the region going live. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::AfterUpdate | ( | EntryEvent^ | ev | ) | [inline, virtual] |
Handles the event of an entry's value being modified in a region.
This entry previously existed in this region in the local cache, but its previous value may have been null.
| ev | EntryEvent denotes the event object associated with updating the entry. |
Implements GemStone::GemFire::Cache::ICacheListener.
| virtual void GemStone::GemFire::Cache::CacheListenerAdapter::Close | ( | Region^ | region | ) | [inline, virtual] |
Called when the region containing this callback is destroyed, when the cache is closed.
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.
Implements GemStone::GemFire::Cache::ICacheListener.