public class GatewayConnectionDUnitTest.EventListener extends TestCacheListener implements com.gemstone.gemfire.internal.cache.xmlcache.Declarable2
| Modifier and Type | Field and Description |
|---|---|
Set |
creates |
Set |
destroys |
Set |
events |
Set |
invalidates |
static long |
MAX_TIME |
Set |
updates |
callbackError| Constructor and Description |
|---|
EventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreate2(com.gemstone.gemfire.cache.EntryEvent event) |
void |
afterDestroy2(com.gemstone.gemfire.cache.EntryEvent event) |
void |
afterInvalidate2(com.gemstone.gemfire.cache.EntryEvent event) |
void |
afterUpdate2(com.gemstone.gemfire.cache.EntryEvent event) |
void |
collectGatewayCallbackEvents(com.gemstone.gemfire.cache.EntryEvent event) |
Properties |
getConfig() |
Set |
getEvents() |
void |
init(Properties props) |
boolean |
waitForCreated(Object key) |
boolean |
waitForDestroyed(Object key) |
void |
waitForGatewayCallback(Object key) |
boolean |
waitForInvalidated(Object key) |
boolean |
waitForUpdated(Object key) |
afterCreate, afterDestroy, afterDestroyBeforeAddEvent, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionDestroy2, afterRegionDestroyBeforeAddEvent, afterRegionInvalidate, afterRegionInvalidate2, afterRegionLive, afterUpdate, disableEventHistory, enableEventHistory, getEventHistoryclose, close2, isClosed, waitForInvocation, wasInvokedpublic final Set destroys
public final Set creates
public final Set invalidates
public final Set updates
public final Set events
public static final long MAX_TIME
public void afterCreate2(com.gemstone.gemfire.cache.EntryEvent event)
afterCreate2 in class TestCacheListenerpublic void afterDestroy2(com.gemstone.gemfire.cache.EntryEvent event)
afterDestroy2 in class TestCacheListenerpublic void afterInvalidate2(com.gemstone.gemfire.cache.EntryEvent event)
afterInvalidate2 in class TestCacheListenerpublic void afterUpdate2(com.gemstone.gemfire.cache.EntryEvent event)
afterUpdate2 in class TestCacheListenerpublic void collectGatewayCallbackEvents(com.gemstone.gemfire.cache.EntryEvent event)
public Set getEvents()
public boolean waitForCreated(Object key)
public boolean waitForDestroyed(Object key)
public boolean waitForInvalidated(Object key)
public boolean waitForUpdated(Object key)
public void waitForGatewayCallback(Object key)
public Properties getConfig()
getConfig in interface com.gemstone.gemfire.internal.cache.xmlcache.Declarable2public void init(Properties props)
init in interface com.gemstone.gemfire.cache.DeclarableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.