public static class CacheEventListenerTest.GenericListener extends com.gemstone.gemfire.cache.util.CacheListenerAdapter implements Serializable
| Constructor and Description |
|---|
GenericListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreate(com.gemstone.gemfire.cache.EntryEvent oevt)
is called when an object is newly loaded into cache.
|
void |
afterDestroy(com.gemstone.gemfire.cache.EntryEvent oevt)
is called when an object is destroyed.
|
void |
afterInvalidate(com.gemstone.gemfire.cache.EntryEvent oevt)
is called when an object is invalidated.
|
void |
afterRegionDestroy(com.gemstone.gemfire.cache.RegionEvent revt)
is called when a region is destroyed.
|
void |
afterRegionInvalidate(com.gemstone.gemfire.cache.RegionEvent revt)
is called when a region is invalidated.
|
void |
afterUpdate(com.gemstone.gemfire.cache.EntryEvent oevt)
is called when an object is replaced.
|
void |
close() |
public void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackclose in class com.gemstone.gemfire.cache.util.CacheListenerAdapterpublic void afterCreate(com.gemstone.gemfire.cache.EntryEvent oevt)
afterCreate in interface com.gemstone.gemfire.cache.CacheListenerafterCreate in class com.gemstone.gemfire.cache.util.CacheListenerAdapteroevt - the ObjectEvent object representing the source object
of the event.public void afterInvalidate(com.gemstone.gemfire.cache.EntryEvent oevt)
afterInvalidate in interface com.gemstone.gemfire.cache.CacheListenerafterInvalidate in class com.gemstone.gemfire.cache.util.CacheListenerAdapteroevt - the ObjectEvent object representing the source object
of the event.public void afterDestroy(com.gemstone.gemfire.cache.EntryEvent oevt)
afterDestroy in interface com.gemstone.gemfire.cache.CacheListenerafterDestroy in class com.gemstone.gemfire.cache.util.CacheListenerAdapteroevt - the ObjectEvent object representing the source object
of the event.public void afterUpdate(com.gemstone.gemfire.cache.EntryEvent oevt)
afterUpdate in interface com.gemstone.gemfire.cache.CacheListenerafterUpdate in class com.gemstone.gemfire.cache.util.CacheListenerAdapteroevt - the ObjectEvent object representing the source object
of the event.public void afterRegionInvalidate(com.gemstone.gemfire.cache.RegionEvent revt)
afterRegionInvalidate in interface com.gemstone.gemfire.cache.CacheListenerafterRegionInvalidate in class com.gemstone.gemfire.cache.util.CacheListenerAdapterrevt - a RegionEvent to represent the source region.com.gemstone.gemfire.cache.CacheException - if any error occurs.public void afterRegionDestroy(com.gemstone.gemfire.cache.RegionEvent revt)
afterRegionDestroy in interface com.gemstone.gemfire.cache.CacheListenerafterRegionDestroy in class com.gemstone.gemfire.cache.util.CacheListenerAdapterrevt - a RegionEvent to represent the source region.com.gemstone.gemfire.cache.CacheException - if any error occurs.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.