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(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.Integer> |
createRanges(int... startEnds)
Create a list of integers consisting of the ranges defined by the provided
argument e.g..
|
protected java.util.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(java.lang.String name)
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionpublic void testEventDelivery()
throws java.lang.Exception
java.lang.Exceptionpublic void testDisabledThresholds()
throws java.lang.Exception
java.lang.Exceptionpublic void testDistributedRegionRemoteClientPutRejection()
throws java.lang.Exception
java.lang.Exceptionpublic void testDistributedRegionRemotePutRejectionLocalDestroy()
throws java.lang.Exception
java.lang.Exceptionpublic void testDistributedRegionRemotePutRejectionCacheClose()
throws java.lang.Exception
java.lang.Exceptionpublic void testDistributedRegionRemotePutRejectionBelowThreshold()
throws java.lang.Exception
java.lang.Exceptionpublic void testGettersAndSetters()
public void testDRLoadRejection()
throws java.lang.Exception
java.lang.Exceptionpublic void testPR_RemotePutRejectionLocalDestroy()
throws java.lang.Exception
java.lang.Exceptionpublic void testPR_RemotePutRejectionCacheClose()
throws java.lang.Exception
java.lang.Exceptionpublic void testPR_RemotePutRejection()
throws java.lang.Exception
java.lang.Exceptionpublic void testPR_RemotePutRejectionLocalDestroyWithTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testPR_RemotePutRejectionCacheCloseWithTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testPR_RemotePutRejectionWithTx()
throws java.lang.Exception
java.lang.Exceptionpublic void testPRLoadRejection()
throws java.lang.Exception
java.lang.Exceptionpublic void testLRLoadRejection()
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<java.lang.Integer> createRanges(int... startEnds)
public void testCleanAdvisorClose()
throws java.lang.Exception
java.lang.Exceptionpublic void testPRClientPutRejection()
throws java.lang.Exception
java.lang.Exceptionpublic void testDistributedRegionClientPutRejection()
throws java.lang.Exception
java.lang.Exceptionprotected java.util.Properties getClientProps()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.