public class EvictionStatsDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static VM |
dataStore1 |
protected static VM |
dataStore2 |
protected static com.gemstone.gemfire.cache.Region |
region |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
EvictionStatsDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
createCache() |
void |
createCacheInAllVms() |
static void |
createCacheInVm() |
void |
createPartitionedRegion(boolean setEvictionOn,
com.gemstone.gemfire.cache.EvictionAlgorithm evictionAlgorithm,
String regionName,
int totalNoOfBuckets,
int evictionAction,
int evictorInterval) |
static long |
getCounterForBuckets(String prRegionName) |
static long |
getPartionRegionCounter(String prRegionName) |
boolean |
isOffHeapEnabled() |
void |
prepareScenario(com.gemstone.gemfire.cache.EvictionAlgorithm evictionAlgorithm) |
static void |
putData(String regionName,
int noOfElememts) |
void |
setUp()
Sets up the test (noop).
|
void |
testEntryLruAllCounterMethods() |
void |
testEntryLruCounter() |
void |
testEntryLRUEvictionNDestroyNNumOverflowOnDiskCount() |
void |
testEntryLruLimitNDestroyLimit() |
void |
testHeapLruCounter() |
void |
testMemLruCounter() |
void |
testMemLRUEvictionNDestroyNNumOverflowOnDiskCount() |
void |
testMemLruLimitNDestroyLimit() |
addExceptionTag1, 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, sendUnorderedMessageToAll, tearDown2addExpectedException, 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 static com.gemstone.gemfire.cache.Cache cache
protected static VM dataStore1
protected static VM dataStore2
protected static com.gemstone.gemfire.cache.Region region
public EvictionStatsDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testEntryLruLimitNDestroyLimit()
public void testMemLruLimitNDestroyLimit()
public void testEntryLruCounter()
public void testMemLruCounter()
public void testHeapLruCounter()
public void testEntryLruAllCounterMethods()
public void testEntryLRUEvictionNDestroyNNumOverflowOnDiskCount()
public void testMemLRUEvictionNDestroyNNumOverflowOnDiskCount()
public void prepareScenario(com.gemstone.gemfire.cache.EvictionAlgorithm evictionAlgorithm)
public void createCacheInAllVms()
public static void createCacheInVm()
public void createCache()
public void createPartitionedRegion(boolean setEvictionOn,
com.gemstone.gemfire.cache.EvictionAlgorithm evictionAlgorithm,
String regionName,
int totalNoOfBuckets,
int evictionAction,
int evictorInterval)
public static void putData(String regionName, int noOfElememts)
public static long getPartionRegionCounter(String prRegionName)
public static long getCounterForBuckets(String prRegionName)
public boolean isOffHeapEnabled()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.