public class PartitionedRegionSingleHopWithServerGroupDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static com.gemstone.gemfire.cache.Region |
customerRegion |
protected static com.gemstone.gemfire.cache.Region |
customerRegion2 |
protected static com.gemstone.gemfire.distributed.Locator |
locator |
protected static int |
locatorPort |
protected VM |
member0 |
protected VM |
member1 |
protected VM |
member2 |
protected VM |
member3 |
protected static com.gemstone.gemfire.cache.Region |
orderRegion |
protected static com.gemstone.gemfire.cache.Region |
orderRegion2 |
protected static String |
PR_NAME |
protected static String |
PR_NAME2 |
protected static String |
PR_NAME3 |
protected static com.gemstone.gemfire.cache.Region |
region |
protected static com.gemstone.gemfire.cache.Region |
region2 |
protected static com.gemstone.gemfire.cache.Region |
shipmentRegion |
protected static com.gemstone.gemfire.cache.Region |
shipmentRegion2 |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionSingleHopWithServerGroupDUnitTest(String name) |
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, 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, 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 String PR_NAME
protected static final String PR_NAME2
protected static final String PR_NAME3
protected VM member0
protected VM member1
protected VM member2
protected VM member3
protected static com.gemstone.gemfire.cache.Region region
protected static com.gemstone.gemfire.cache.Region customerRegion
protected static com.gemstone.gemfire.cache.Region orderRegion
protected static com.gemstone.gemfire.cache.Region shipmentRegion
protected static com.gemstone.gemfire.cache.Region region2
protected static com.gemstone.gemfire.cache.Region customerRegion2
protected static com.gemstone.gemfire.cache.Region orderRegion2
protected static com.gemstone.gemfire.cache.Region shipmentRegion2
protected static com.gemstone.gemfire.cache.Cache cache
protected static final int locatorPort
protected static com.gemstone.gemfire.distributed.Locator locator
public PartitionedRegionSingleHopWithServerGroupDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic static void closeCache()
public static void stopServer()
public void test_SingleHopWith2ServerGroup()
public void test_SingleHopWith2ServerGroup2()
public void test_SingleHopWith2ServerGroup2WithoutSystemProperty()
public void test_SingleHopWithServerGroupAccessor()
public void test_SingleHopWithServerGroupOneServerInTwoGroups()
public void test_SingleHopWithServerGroupWithOneDefaultServer()
public void test_SingleHopWithServerGroupClientServerGroupNull()
public void test_SingleHopWithServerGroupTwoClientServerGroup()
public void test_SingleHopWithServerGroupTwoClientServerGroup2()
public void test_SingleHopWithServerGroupTwoClientOneWithOneWithoutServerGroup()
public void test_SingleHopWithServerGroup2ClientInOneVMServerGroup()
public void test_SingleHopWithServerGroupColocatedRegionsInDifferentGroup()
public static void verifyMetadata(int numRegions,
int numBucketLocations)
public static void verifyMetadataForColocatedRegionWithDiffPool(int numRegions,
int numBucketLocations,
int numBucketLocations2,
int numBucketLocations3)
public static void verifyMetadataFor2ClientsInOneVM(int numRegions,
int numBucketLocations,
int numBucketLocations2)
public static int createServer(int redundantCopies,
int totalNoofBuckets,
String group)
public static int createServerWithLocatorAndServerGroup(String locator, int localMaxMemory, int redundantCopies, int totalNoofBuckets, String group)
public static int createServerWithLocatorAndServerGroup2Regions(String locator, int localMaxMemory, int redundantCopies, int totalNoofBuckets, String group)
public static void createClientWithLocator(String host, int port0, String group)
public static void create2ClientWithLocator(String host, int port0, String group1, String group2)
public static void createClientWith3PoolLocator(String host, int port0, String group1, String group2, String group3)
public static int createAccessorServer(int redundantCopies,
int numBuckets,
String group)
public static void createClientWithLocatorWithoutSystemProperty(String host, int port0, String group)
public static void putIntoPartitionedRegions()
public static void putIntoPartitionedRegions2Client()
public static void getFromPartitionedRegions()
public static void getFromPartitionedRegions2Client()
public static void startLocatorInVM(int locatorPort)
public static void stopLocator()
public static void resetHonourServerGroupsInPRSingleHop()
public static void setHonourServerGroupsInPRSingleHop()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.