public class LRUEvictionControllerTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
LRUEvictionControllerTest(String name)
Creates a new
LRUEvictionControllerTest |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
testBug31592()
Tests that a Region with an LRU capacity controller can be
accessed from inside a cache listener.
|
void |
testCacheLoader()
Carefully verifies that region operations effect the
LRUStatistics as expected in the presense of a CacheLoader. |
void |
testCCMirrored()
Tests that a capacity controller with LOCAL_DESTROY eviction action
cannot be installed into a region
|
void |
testMultipleUsesOfEvictionAttributes()
Tests that a single set of eviction attributes can be used multiple times
(and does the right thing).
|
void |
testRegionOperations()
Carefully verifies that region operations effect the
LRUStatistics as expected. |
void |
testReplicationAndTransactions()
Create two regions, one a "feed" that performs transactions
which are replicated to a region with an Entry LRU set to one
Asserts that the LRU rules are observed
|
void |
testSizeOne()
Tests an
LRUCapacityController of size 1. |
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, 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 LRUEvictionControllerTest(String name)
LRUEvictionControllerTestpublic void testRegionOperations()
throws com.gemstone.gemfire.cache.CacheException
LRUStatistics as expected.com.gemstone.gemfire.cache.CacheExceptionpublic void testCacheLoader()
throws com.gemstone.gemfire.cache.CacheException
LRUStatistics as expected in the presense of a CacheLoader.com.gemstone.gemfire.cache.CacheExceptionpublic void testSizeOne()
throws com.gemstone.gemfire.cache.CacheException
LRUCapacityController of size 1.com.gemstone.gemfire.cache.CacheExceptionpublic void testMultipleUsesOfEvictionAttributes()
throws com.gemstone.gemfire.cache.CacheException,
CloneNotSupportedException
com.gemstone.gemfire.cache.CacheExceptionCloneNotSupportedExceptionpublic void testBug31592()
throws Exception
Exceptionpublic void testCCMirrored()
throws Exception
Exceptionpublic void testReplicationAndTransactions()
throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.