public class PartitionedRegionSystemMemberRegionListenerDUnitTest extends AdminDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static com.gemstone.gemfire.admin.AdminDistributedSystem |
ads |
agent, AGENT_VM, debug, NUM_RETRY, RETRY_INTERVAL, shutdownThread, tcSystem, urlStringcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionSystemMemberRegionListenerDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.RegionAttributes |
createRegionAttrsForPR(int red,
int localMaxMem) |
static com.gemstone.gemfire.distributed.DistributedMember |
getVMDM() |
void |
testAdminAPIInPartitionedRegions()
This test performs following operations
1. |
void |
testAlertWhenLocalMaxExceeded()
Ensure that an Alert message is sent when the local_max_memory is exceeded.
|
void |
testNoAlertWhenLocalMaxExceededWithEviction()
Ensure that an Alert message is not sent when the local_max_memory is exceeded if eviction is enabled,
|
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, toStringpublic PartitionedRegionSystemMemberRegionListenerDUnitTest(String name)
public static com.gemstone.gemfire.distributed.DistributedMember getVMDM()
public void testAdminAPIInPartitionedRegions()
throws Exception
Exceptionpublic void testAlertWhenLocalMaxExceeded()
throws Exception
Exceptionpublic void testNoAlertWhenLocalMaxExceededWithEviction()
throws Exception
Exceptionprotected com.gemstone.gemfire.cache.RegionAttributes createRegionAttrsForPR(int red,
int localMaxMem)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.