public class QueryIndexUpdateRIDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static String |
KEY |
static String |
REGULAR_EXPRESSION |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
QueryIndexUpdateRIDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncClearRegion(VM vm,
String regionName) |
void |
asyncRegisterInterestList(VM vm,
String regionName,
int keySize,
int policy,
int start) |
void |
createClient(VM client,
int[] serverPorts,
String serverHost,
String redundancyLevel,
String poolName) |
void |
createClient(VM client,
int serverPort,
String serverHost) |
void |
createServer(VM server,
int thePort,
boolean partitioned) |
void |
createValues(VM vm,
String regionName,
int size) |
void |
createValues(VM vm,
String regionName,
int size,
int start)
Creates Init Values.
|
void |
registerInterestList(VM vm,
String regionName,
int keySize,
int policy) |
void |
registerInterestList(VM vm,
String regionName,
int keySize,
int policy,
int start) |
void |
startBridgeServer(int port,
boolean notifyBySubscription)
Starts a bridge server on the given port, using the given
deserializeValues and notifyBySubscription to serve up the
given region.
|
void |
testClientIndexUpdateWithRIOnClearedRegion()
This test tests the RegionClearedException Path in AbsractRegionMap while doing
initialImagePut() during registerInterest on client.
|
void |
testClientIndexUpdateWithRIOnKeys() |
void |
testClientIndexUpdateWithRIOnOverlapKeys()
Tests overlap keys between client region and server region to verify the server region values are synched
with client region on register interest.
|
void |
testClientIndexUpdateWithRIOnPRKeys() |
void |
testClientIndexUpdateWithRIOnPRRegEx() |
void |
testClientIndexUpdateWithRIOnPRRegion() |
void |
testClientIndexUpdateWithRIOnRegEx() |
void |
testClientIndexUpdateWithRIOnRegion() |
void |
validateQueryOnIndex(VM vm,
String query,
int resultSize) |
void |
validateQueryOnIndexWithRegion(VM vm,
String query,
int resultSize,
String region)
Validates a query result with client region values if region is not null, otherwise verifies the size only.
|
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 static final String KEY
public static final String REGULAR_EXPRESSION
public QueryIndexUpdateRIDUnitTest(String name)
public void testClientIndexUpdateWithRIOnKeys()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnOverlapKeys()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnRegion()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnRegEx()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnClearedRegion()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnPRRegion()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnPRKeys()
throws Exception
Exceptionpublic void testClientIndexUpdateWithRIOnPRRegEx()
throws Exception
Exceptionpublic void registerInterestList(VM vm, String regionName, int keySize, int policy)
public void registerInterestList(VM vm, String regionName, int keySize, int policy, int start)
public void asyncRegisterInterestList(VM vm, String regionName, int keySize, int policy, int start)
public void createServer(VM server, int thePort, boolean partitioned)
public void startBridgeServer(int port,
boolean notifyBySubscription)
throws IOException
IOExceptionpublic void createValues(VM vm, String regionName, int size, int start)
vm - regionName - size - start - public void createClient(VM client, int[] serverPorts, String serverHost, String redundancyLevel, String poolName)
public void validateQueryOnIndexWithRegion(VM vm, String query, int resultSize, String region)
vm - query - resultSize - region - Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.