public class QueryFunctionExecTest extends QueryTest
QueryTest.QueryObserverImpl| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
isSerialExecution |
protected static int |
numOfRegions |
protected static int |
QUERY_FILTER_OPERATION |
protected static int |
QUERY_NO_FILTER_OPERATION |
protected static int |
QUERY_SINGLE_FILTER_OPERATION |
protected static int |
REGION_CLOSE_REBLANCE_OPERATION |
ADD_OPERATION, COUNT_QUERY_OPERATION, countQueryResults, CREATE_INDEX_OPERATION, createCallbackPrefix, DESTROY_OPERATION, destroyCallbackPrefix, distLockService, enumWhereClause1, enumWhereClause2, ID_COMPACT_RANGE_INDEX, ID_HASH_INDEX, ID_RANGE_INDEX, ignoreQueryExecTimeOutException, INVALIDATE_OPERATION, invalidateCallbackPrefix, isCarefulValidation, isMirrored, LOCAL_DESTROY_OPERATION, LOCAL_INVALIDATE_OPERATION, LOCK_NAME, LOCK_SERVICE_NAME, MAP_RANGE_INDEX_1, MAP_RANGE_INDEX_2, maxObjects, MILLIS_TO_WAIT, minTaskGranularityMS, minTaskGranularitySec, numQueries, numVMs, origClassLoader, pdxReadSerialized, PDXSTRING_QUERY_OPERATION, pool, QUERY_OPERATION, queryLimit, queryTest, randomValues, READ_OPERATION, REGION_NAME, REGION_WITHOUT_INDEX, REMOVE_INDEX_OPERATION, statisticsWrittenToBB, STATUS_COMPACT_RANGE_INDEX, STATUS_HASH_INDEX, STATUS_RANGE_INDEX, UPDATE_OPERATION, updateCallbackPrefix, useEvictionController| Constructor and Description |
|---|
QueryFunctionExecTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(com.gemstone.gemfire.cache.Region aRegion)
Add new object
|
protected void |
destroyObject(com.gemstone.gemfire.cache.Region aRegion)
Destroy an entry
|
protected void |
doEntryAndQueryOperations()
Perform various operations concurrently
|
protected Object |
getObjectToAdd(Long key)
Get an Object to add
|
protected static int |
getOperation(Long whichPrm)
Get an operation.
|
protected Object |
getUpdateObject()
Get an object (value) for update purpose
|
static void |
HydraTask_close_rebalancePR() |
static void |
HydraTask_doEntryAndQueryOperations()
Do entry and query operations in parallel
|
static void |
HydraTask_ExecuteFunction_Filter_SingleKey()
Execute function with single filter key
|
static void |
HydraTask_ExecuteFunction_Filter()
Execute function with filter keys
|
static void |
HydraTask_ExecuteFunction_NoFilter()
Execute function without any filter keys
|
static void |
HydraTask_ExecuteFunction_RegionDestroyUsingFilter()
Hydratask for verifying function execution when region destroy happens on
server
|
static void |
HydraTask_initialize_peers()
Initialize peer nodes in P2P topology
|
static void |
HydraTask_initRegisterFunction()
INITTASK registering function for random function execution test
|
static void |
HydraTask_populateRegions()
Hydra task for populating region data
|
static void |
HydraTask_Set_BucketRegion_BucketRebalance_QueryObserver()
Set queryobserver which will invoke bucket rebalance upon startQuery() callback
|
static void |
HydraTask_Set_BucketRegion_Destroy_QueryObserver()
Set query observer for destroying bucket region
|
static void |
HydraTask_verifyRegionSizeAndValues()
Verify region sizes and values
|
void |
initialize() |
protected void |
invalidateObject(com.gemstone.gemfire.cache.Region aRegion)
Invalidate object
|
static void |
performSanityChecks(int queryIndex,
PRPortfolio[] pfo)
Perform sanity checks on the query results
|
protected void |
populateRegions()
Populate regions
|
protected void |
readObject(com.gemstone.gemfire.cache.Region aRegion)
Read object
|
protected void |
updateObject(com.gemstone.gemfire.cache.Region aRegion)
Update an object
|
static void |
verifyQueryResults(int queryIndex,
List queryResults)
Verify query results for correctness
|
addObject, checkEventCounters, compareQueryResultsBetweenIndexRegions, compareQueryResultsWithoutAndWithIndexes, createCacheFromXml, createIndex_task, createIndex, createRootRegions, destroyObject, doCountQuery, doPdxStringQuery, doQuery, getCacheListener, getNumNames, getNumVMsWithListeners, getObjectToAdd, getOperation, getUpdateObject, handleRegionDestroyedException, HydraTask_closeTask_writeQueryStats_To_Blackboard, HydraTask_compareQueryResultsBetweenIndexRegions, HydraTask_endTask_verifyQueryStats_With_Blackboard, HydraTask_endTask, HydraTask_initialize_clientCache, HydraTask_initialize_withIndexTestHook, HydraTask_initialize_xml, HydraTask_initialize, HydraTask_iterate, HydraTask_load, HydraTask_printBB, initialize_clientCache, initialize, invalidateObject, iterateRegion, logExecutionNumber, randRgn, removeIndex, updateObject, validateQueryLimit, verifyCountQueryResults, verifyObjectDestroyed, verifyObjectInvalidatedprotected static int numOfRegions
protected static boolean isSerialExecution
protected static final int QUERY_NO_FILTER_OPERATION
protected static final int QUERY_SINGLE_FILTER_OPERATION
protected static final int QUERY_FILTER_OPERATION
protected static final int REGION_CLOSE_REBLANCE_OPERATION
public static void HydraTask_initialize_peers()
public static void HydraTask_populateRegions()
protected void populateRegions()
public static void HydraTask_verifyRegionSizeAndValues()
public void initialize()
initialize in class QueryTestpublic static void HydraTask_initRegisterFunction()
public static void HydraTask_doEntryAndQueryOperations()
protected void doEntryAndQueryOperations()
doEntryAndQueryOperations in class QueryTest#HydraTask_doEntryOperationsprotected static int getOperation(Long whichPrm)
whichPrm - protected Object getObjectToAdd(Long key)
key - protected void addObject(com.gemstone.gemfire.cache.Region aRegion)
aRegion - protected void invalidateObject(com.gemstone.gemfire.cache.Region aRegion)
aRegion - protected void destroyObject(com.gemstone.gemfire.cache.Region aRegion)
aRegion - protected Object getUpdateObject()
protected void updateObject(com.gemstone.gemfire.cache.Region aRegion)
updateObject in class QueryTestprotected void readObject(com.gemstone.gemfire.cache.Region aRegion)
readObject in class QueryTestpublic static void HydraTask_ExecuteFunction_NoFilter()
public static void HydraTask_ExecuteFunction_Filter_SingleKey()
public static void HydraTask_ExecuteFunction_Filter()
public static void HydraTask_Set_BucketRegion_Destroy_QueryObserver()
public static void HydraTask_Set_BucketRegion_BucketRebalance_QueryObserver()
public static void HydraTask_ExecuteFunction_RegionDestroyUsingFilter()
public static void verifyQueryResults(int queryIndex,
List queryResults)
queryIndex - queryResults - public static void performSanityChecks(int queryIndex,
PRPortfolio[] pfo)
queryIndex - pfo - public static void HydraTask_close_rebalancePR()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.