public class LocalRegionTest extends CacheListenerTestCase
locally scoped
cache Region including its callbacks. Note that even
though this test is a DistributedTestCase, it does
not perform any distribution.RegionAttributesTestCase.TestExpiryDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2eventCount, preSnapshotRegioncachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocalRegionTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.RegionAttributes |
getRegionAttributes()
Returns the attributes of a region to be tested.
|
void |
testIncompatibleSubregions()
Tests the compatibility of creating certain kinds of subregions
of a local region.
|
void |
testLocalCreateModifiedCallbackArgument()
Tests that a local writer receives a modified version of the
callback argument on a create.
|
void |
testLocalLoaderNetSearch()
Tests that if a
CacheLoader for a local region
invokes LoaderHelper.netSearch(boolean), a CacheLoaderException is thrown. |
void |
testLocalUpdateModifiedCallbackArgument()
Tests that a local writer receives a modified version of the
callback argument on an update.
|
testCacheListenerAfterCreate, testCacheListenerAfterDestroy, testCacheListenerAfterInvalidate, testCacheListenerAfterRegionDestroy, testCacheListenerAfterRegionInvalidate, testCacheListenerAfterUpdatetestCacheListenerOnLoad, testCacheLoader, testCacheLoaderNull, testCacheWriterOnLoadtestCacheWriterBeforeCreate, testCacheWriterBeforeDestroy, testCacheWriterBeforeRegionDestroy, testCacheWriterBeforeUpdate, testCacheWriterExceptionAborts, testCacheWriterLocalDestroytestAttributesMutator, testAttributesMutatorBogus, testRegionAttributescreateRegion, createRootRegion, entryIsLocal, pauseIfNecessary, pauseIfNecessary, remoteTestPostSnapshot, supportsLocalDestroyAndLocalInvalidate, supportsSubregions, tearDown2, testBadRegionAccess, testCloseRegion, testContainsKey, testCreateSubregions, testCustomEntryIdleReset, testCustomEntryIdleTimeout1, testCustomEntryIdleTimeout2, testCustomEntryIdleTimeout3, testCustomEntryTtl1, testCustomEntryTtl2, testCustomEntryTtl3, testCustomIdleOnce, testDestroyEntry, testDestroyRegion, testEntries, testEntriesRecursive, testEntryExpirationAfterMutate, testEntryFromLoadTtlInvalidate, testEntryIdleDestroy, testEntryIdleInvalidate, testEntryIdleReset, testEntryIdleTimeout3, testEntryIdleTtl, testEntryTtl3, testEntryTtlDestroy, testEntryTtlInvalidate, testEntryUserAttribute, testGetCache, testGetName, testGetParentRegion, testGetPathFromRoot, testInvalidateEntry, testInvalidateRegion, testKeys, testLocalDestroyEntry, testLocalDestroyRegion, testLocalInvalidateEntry, testLocalInvalidateRegion, testNulls, testPutNonExistentEntry, testRegionExpirationAfterMutate, testRegionIdleDestroy, testRegionIdleInvalidate, testRegionTtlDestroy, testRegionTtlInvalidate, testRegionUserAttribute, testRootSnapshot, testSnapshot, testSubregions, testSubregionsRecursive, testValues, waitForDestroy, waitForInvalidate, waitForRegionDestroyaddExceptionTag1, 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 LocalRegionTest(String name)
protected com.gemstone.gemfire.cache.RegionAttributes getRegionAttributes()
getRegionAttributes in class RegionTestCasepublic void testIncompatibleSubregions()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionRegion.createSubregion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes<SK, SV>)public void testLocalLoaderNetSearch()
throws com.gemstone.gemfire.cache.CacheException
CacheLoader for a local region
invokes LoaderHelper.netSearch(boolean), a CacheLoaderException is thrown.com.gemstone.gemfire.cache.CacheExceptionpublic void testLocalCreateModifiedCallbackArgument()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testLocalUpdateModifiedCallbackArgument()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.