public class PartitionedRegionAPIDUnitTest extends PartitionedRegionDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionAPIDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected CacheSerializableRunnable |
addExceptionTag1(String expectedException) |
void |
destroyTheRegion(String name) |
void |
partitionedRegionConcurrentMapTest(String prName)
Do putIfAbsent(), replace(Object, Object),
replace(Object, Object, Object), remove(Object, Object) operations
through VM with PR having
both Accessor and Datastore
|
void |
partitionedRegionTest(String prName) |
void |
partitionedRegionTestAfterDestroyRegion(String prName)
Test the Region operations after the PartitionedRegion has been destroyed
|
protected CacheSerializableRunnable |
removeExceptionTag1(String expectedException) |
static boolean |
searchForKey(com.gemstone.gemfire.internal.cache.PartitionedRegion par,
Object key)
Search the entires PartitionedRegion for the key, to validate that indeed
it doesn't exist
|
void |
testBug36685()
Verify that localMaxMemory is set correctly when using attributes
|
void |
testCacherLoaderHelper() |
void |
testPartitionedRegionConcurrentOperations()
This is a PartitionedRegion test for the ConcurrentMap operations
for scope = D_ACK.
|
void |
testPartitionedRegionOperationsScopeDistAck()
This is a PartitionedRegion test for scope = D_ACK.
|
void |
testPartitionedRegionsOperationsScopeDistEarlyAck()
Test the PartitionedRegion operations when the Scope is set to
AttributesFactory.setEarlyAck(boolean) |
caseSetUp, caseTearDown, createMultiplePartitionRegion, createMultiplePartitionRegion, createRegionAttrsForPR, destroyInMultiplePartitionRegion, destroyRegionInMultiplePartitionRegion, disconnectVM, getCreateMultiplePRregion, getInMultiplePartitionRegion, getRemovedOrDestroyedInMultiplePartitionRegion, invalidatesInMultiplePartitionRegion, putAfterDestroyInMultiplePartitionedRegion, putInMultiplePartitionRegion, resetVMLogLevel, setLogLevel, setVMInfoLogLevel, tearDown2, validateMultiplePartitionRegionbasicGetCache, 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, 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 PartitionedRegionAPIDUnitTest(String name)
public static boolean searchForKey(com.gemstone.gemfire.internal.cache.PartitionedRegion par,
Object key)
par - key - public void partitionedRegionTestAfterDestroyRegion(String prName)
prName - public void partitionedRegionTest(String prName)
public void partitionedRegionConcurrentMapTest(String prName)
public void testPartitionedRegionOperationsScopeDistAck()
throws Exception
Exceptionpublic void testPartitionedRegionConcurrentOperations()
throws Exception
Exceptionpublic void testPartitionedRegionsOperationsScopeDistEarlyAck()
throws Exception
AttributesFactory.setEarlyAck(boolean)Exceptionpublic void testBug36685()
throws Exception
Exceptionpublic void destroyTheRegion(String name)
protected CacheSerializableRunnable addExceptionTag1(String expectedException)
addExceptionTag1 in class CacheTestCaseprotected CacheSerializableRunnable removeExceptionTag1(String expectedException)
removeExceptionTag1 in class CacheTestCaseCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.