public class CacheEventListenerTest extends DistributedCacheTestCase
MultiVMRegionTestCase, this
test is still interesting because of its use of all DUnit VMs and
the Hydra blackboard.| Modifier and Type | Class and Description |
|---|---|
static class |
CacheEventListenerTest.GenericListener
A class that provides default implementations for the methods of
several listener types.
|
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
CacheEventListenerTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected EventListenersBlackboard |
getBlackboard() |
void |
testInvalidatedViaExpiration() |
void |
testObjectAddedReplaced() |
void |
testObjectDestroyed() |
void |
testObjectInvalidated() |
forEachVMInvoke, getDistributionManager, getRootRegion, remoteAssertEntryValue, remoteCreateRegion, remoteCreateRegion, remoteDefineEntry, remoteDefineEntry, remoteDestroy, remoteInvalidate, remotePut, remotePutDistributed, remoteReplace, setUp, setUp, tearDown2addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, dumpAllStacks, dumpMyThreads, dumpStack, dumpStack, dumpStack, dumpStackTrace, fail, getAllDistributedSystemProperties, getDistributedSystemProperties, getDUnitLocatorAddress, getDUnitLocatorPort, getDUnitLocatorString, getDUnitLogLevel, getIPLiteral, getLogWriter, getLonerSystem, getMcastSystem, getMcastSystem, getRepeatTimeoutMs, getServerHostName, getSystem, getSystem, getTestClass, getTestName, getUniqueName, getVMCount, incBBFlag, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVMRepeatingIfNecessary, invokeInLocator, invokeRepeatingIfNecessary, isConnectedToDS, join, noteTiming, pause, pause, perVMSetUp, realTearDown, setDiskStoreForGateway, setSystem, setTestName, staticPause, tearDown, unregisterAllDataSerializersFromAllVms, unregisterDataSerializerInThisVM, unregisterInstantiatorsInThisVM, waitForBBFlag, waitForCriterion, waitMutexassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic CacheEventListenerTest(String name)
public void testObjectAddedReplaced()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectInvalidated()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectDestroyed()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testInvalidatedViaExpiration()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionprotected EventListenersBlackboard getBlackboard()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.