public class PartitionedRegionWithSameNameDUnitTest extends PartitionedRegionDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static int |
DISTRIBUTED_REGION
Used to decide whether to create subregion as distributed region or
partitioned region
|
protected static int |
PARTITIONED_REGION |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionWithSameNameDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
CacheSerializableRunnable |
createMultiplePartitionRegion(String PRPrefix,
int startIndexForRegion,
int endIndexForRegion,
int redundancy,
int localmaxMemory,
boolean firstCreationFlag,
boolean multipleVMFlag)
This function creates multiple partition regions in a VM.
|
static com.gemstone.gemfire.cache.RegionAttributes |
createRegionAttrsForPR(int red,
int localMaxMem)
This function creates Region attributes with provided scope,redundancy and
localmaxMemory
|
void |
testLocalRegionFirst()
This test performs following operations
1. |
void |
testLocalRegionSecond()
This test performs following operations
1. |
void |
testNameWithDistributedRegionFirstOnDifferentVM()
This test performs following operations
1. |
void |
testNameWithDistributedRegionFirstOnSameVM()
This test performs following operation
1. |
void |
testNameWithPartitionRegionFirstOnDifferentVM()
This test performs following operations
1. |
void |
testNameWithPartitionRegionFirstOnSameVM()
This test performs following operation
1. |
void |
testWithPartitionedRegionAsParentRegionAndDistributedSubRegion()
This test performs following operations
1. |
void |
testWithPartitionedRegionAsParentRegionAndPartitionedSubRegion()
This test performs following operations
1. |
void |
testWithSubRegionDistributedRegionFirst()
This test performs the following operatiions
1.Creates a distributed region as parent on vm0,vm1,vm2 and vm3. 2.Creates a distributed region as subregion of parent on vm0. |
void |
testWithSubRegionPartitionedRegionFirst()
This test performs the following operatiions
1.Creates a distributed region as parent on vm0,vm1,vm2 and vm3. 2.Creates a partitioned region as subregion of parent on vm0. |
caseSetUp, caseTearDown, createMultiplePartitionRegion, createMultiplePartitionRegion, createRegionAttrsForPR, destroyInMultiplePartitionRegion, destroyRegionInMultiplePartitionRegion, disconnectVM, getCreateMultiplePRregion, getInMultiplePartitionRegion, getRemovedOrDestroyedInMultiplePartitionRegion, invalidatesInMultiplePartitionRegion, putAfterDestroyInMultiplePartitionedRegion, putInMultiplePartitionRegion, resetVMLogLevel, setLogLevel, setVMInfoLogLevel, tearDown2, validateMultiplePartitionRegionaddExceptionTag1, 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, toStringprotected static final int DISTRIBUTED_REGION
protected static final int PARTITIONED_REGION
public PartitionedRegionWithSameNameDUnitTest(String name)
public void testNameWithPartitionRegionFirstOnSameVM()
public void testNameWithDistributedRegionFirstOnSameVM()
public void testNameWithPartitionRegionFirstOnDifferentVM()
public void testNameWithDistributedRegionFirstOnDifferentVM()
public void testLocalRegionFirst()
public void testLocalRegionSecond()
public void testWithPartitionedRegionAsParentRegionAndDistributedSubRegion()
vmList - firstCreationFlag - public void testWithPartitionedRegionAsParentRegionAndPartitionedSubRegion()
vmList - firstCreationFlag - public void testWithSubRegionPartitionedRegionFirst()
public void testWithSubRegionDistributedRegionFirst()
public CacheSerializableRunnable createMultiplePartitionRegion(String PRPrefix, int startIndexForRegion, int endIndexForRegion, int redundancy, int localmaxMemory, boolean firstCreationFlag, boolean multipleVMFlag)
PRPrefix - :
Used in the name of the Partition Region
These indices Represents range of the Partition RegionstartIndexForRegion - :endIndexForRegion - redundancy - localmaxMemory - public static com.gemstone.gemfire.cache.RegionAttributes createRegionAttrsForPR(int red,
int localMaxMem)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.