public class MemoryThresholdsOffHeapDUnitTest extends BridgeTestCase
ResourceManagerBridgeTestCase.BridgeServerCacheLoaderDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2AUTO_LOAD_BALANCE, BridgeServerKey, NON_EXISTENT_KEYcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
MemoryThresholdsOffHeapDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static List<Integer> |
createRanges(int... startEnds)
Create a list of integers consisting of the ranges defined by the provided
argument e.g..
|
protected Properties |
getClientProps() |
void |
tearDown2()
Tears down the test.
|
void |
testCleanAdvisorClose() |
void |
testDisabledThresholds()
test that disabling threshold does not cause remote event and
remote DISABLED events are delivered
|
void |
testDistributedRegionClientPutRejection() |
void |
testDistributedRegionRemoteClientPutRejection()
test that puts in a client are rejected when a remote VM crosses
critical threshold
|
void |
testDistributedRegionRemotePutRejectionBelowThreshold() |
void |
testDistributedRegionRemotePutRejectionCacheClose() |
void |
testDistributedRegionRemotePutRejectionLocalDestroy() |
void |
testDRLoadRejection()
Test that DistributedRegion cacheLoade and netLoad are passed through to the
calling thread if the local VM is in a critical state.
|
void |
testEventDelivery()
Make sure appropriate events are delivered when moving between states.
|
void |
testGettersAndSetters() |
void |
testLRLoadRejection()
Test that LocalRegion cache Loads are not stored in the Region
if the VM is in a critical state, then test that they are allowed
once the VM is no longer critical
|
void |
testPR_RemotePutRejection() |
void |
testPR_RemotePutRejectionCacheClose() |
void |
testPR_RemotePutRejectionCacheCloseWithTx() |
void |
testPR_RemotePutRejectionLocalDestroy() |
void |
testPR_RemotePutRejectionLocalDestroyWithTx() |
void |
testPR_RemotePutRejectionWithTx() |
void |
testPRClientPutRejection() |
void |
testPRLoadRejection()
Test that a Partitioned Region loader invocation is rejected
if the VM with the bucket is in a critical state.
|
caseSetUp, caseTearDown, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPoolWithName, configureConnectionPoolWithName, configureConnectionPoolWithNameAndFactory, configureConnectionPoolWithNameAndFactory, createBridgeClientConnection, createBridgeServer, createUniquePorts, getDistributedMember, getMaxThreads, getMemberId, getRegionAttributes, getSystemProperties, startBridgeServer, stopBridgeServersaddExceptionTag1, 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, setUp, 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 MemoryThresholdsOffHeapDUnitTest(String name)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void testEventDelivery()
throws Exception
Exceptionpublic void testDisabledThresholds()
throws Exception
Exceptionpublic void testDistributedRegionRemoteClientPutRejection()
throws Exception
Exceptionpublic void testDistributedRegionRemotePutRejectionLocalDestroy()
throws Exception
Exceptionpublic void testDistributedRegionRemotePutRejectionCacheClose()
throws Exception
Exceptionpublic void testDistributedRegionRemotePutRejectionBelowThreshold()
throws Exception
Exceptionpublic void testGettersAndSetters()
public void testDRLoadRejection()
throws Exception
Exceptionpublic void testPR_RemotePutRejectionLocalDestroy()
throws Exception
Exceptionpublic void testPR_RemotePutRejectionCacheClose()
throws Exception
Exceptionpublic void testPR_RemotePutRejection()
throws Exception
Exceptionpublic void testPR_RemotePutRejectionLocalDestroyWithTx()
throws Exception
Exceptionpublic void testPR_RemotePutRejectionCacheCloseWithTx()
throws Exception
Exceptionpublic void testPR_RemotePutRejectionWithTx()
throws Exception
Exceptionpublic void testPRLoadRejection()
throws Exception
Exceptionpublic void testLRLoadRejection()
throws Exception
Exceptionpublic static List<Integer> createRanges(int... startEnds)
public void testDistributedRegionClientPutRejection()
throws Exception
Exceptionprotected Properties getClientProps()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.