public class SystemMemberCacheListenerDUnitTest extends AdminDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected boolean |
createInvoked |
protected com.gemstone.gemfire.admin.SystemMemberCacheEvent |
lastCacheEvent |
protected com.gemstone.gemfire.admin.SystemMemberRegionEvent |
lastEvent |
protected int |
listenerInvoked |
protected boolean |
lossInvoked |
agent, AGENT_VM, debug, NUM_RETRY, RETRY_INTERVAL, shutdownThread, tcSystem, urlStringcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
SystemMemberCacheListenerDUnitTest(String name)
Creates a new
SystemMemberRegionDUnitTest |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getListenerInvoked() |
static com.gemstone.gemfire.distributed.DistributedMember |
getMemberId() |
static com.gemstone.gemfire.distributed.DistributedMember |
getVMDistributedMember() |
void |
testCacheListener()
Tests that admin region listener gets events on region create/destroy
|
assertAgent, assertLog, createDistributedSystem, disconnect, getAdminDistributedSystem, getDistributedMember, getDistributionConfig, getLocators, isJMX, isRMI, isSSL, reconnectToSystem, setUp, startAgent, stopAgent, tearDown2addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAlladdExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, 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, toStringprotected volatile int listenerInvoked
protected volatile boolean createInvoked
protected volatile boolean lossInvoked
protected transient volatile com.gemstone.gemfire.admin.SystemMemberRegionEvent lastEvent
protected transient volatile com.gemstone.gemfire.admin.SystemMemberCacheEvent lastCacheEvent
public SystemMemberCacheListenerDUnitTest(String name)
SystemMemberRegionDUnitTestCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.