public class QueryIndexUpdateRIDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY |
static java.lang.String |
REGULAR_EXPRESSION |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
QueryIndexUpdateRIDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncClearRegion(VM vm,
java.lang.String regionName) |
void |
asyncRegisterInterestList(VM vm,
java.lang.String regionName,
int keySize,
int policy,
int start) |
void |
createClient(VM client,
int[] serverPorts,
java.lang.String serverHost,
java.lang.String redundancyLevel,
java.lang.String poolName) |
void |
createClient(VM client,
int serverPort,
java.lang.String serverHost) |
void |
createServer(VM server,
int thePort,
boolean partitioned) |
void |
createValues(VM vm,
java.lang.String regionName,
int size) |
void |
createValues(VM vm,
java.lang.String regionName,
int size,
int start)
Creates Init Values.
|
void |
registerInterestList(VM vm,
java.lang.String regionName,
int keySize,
int policy) |
void |
registerInterestList(VM vm,
java.lang.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,
java.lang.String query,
int resultSize) |
void |
validateQueryOnIndexWithRegion(VM vm,
java.lang.String query,
int resultSize,
java.lang.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 java.lang.String KEY
public static final java.lang.String REGULAR_EXPRESSION
public QueryIndexUpdateRIDUnitTest(java.lang.String name)
public void testClientIndexUpdateWithRIOnKeys()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnOverlapKeys()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnRegEx()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnClearedRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnPRRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnPRKeys()
throws java.lang.Exception
java.lang.Exceptionpublic void testClientIndexUpdateWithRIOnPRRegEx()
throws java.lang.Exception
java.lang.Exceptionpublic void registerInterestList(VM vm, java.lang.String regionName, int keySize, int policy)
public void registerInterestList(VM vm, java.lang.String regionName, int keySize, int policy, int start)
public void asyncRegisterInterestList(VM vm, java.lang.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 java.io.IOException
java.io.IOExceptionpublic void createValues(VM vm, java.lang.String regionName, int size)
public void createValues(VM vm, java.lang.String regionName, int size, int start)
vm - regionName - size - start - public void createClient(VM client, int serverPort, java.lang.String serverHost)
public void createClient(VM client, int[] serverPorts, java.lang.String serverHost, java.lang.String redundancyLevel, java.lang.String poolName)
public void validateQueryOnIndex(VM vm, java.lang.String query, int resultSize)
public void validateQueryOnIndexWithRegion(VM vm, java.lang.String query, int resultSize, java.lang.String region)
vm - query - resultSize - region - public void asyncClearRegion(VM vm, java.lang.String regionName)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.