public class CQTestVersionHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isClientCache |
protected CQTest |
testInstance |
| Constructor and Description |
|---|
CQTestVersionHelper(CQTest testInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeCache()
Close the cache (using CacheFactory or ClientCacheFactory as needed)
|
protected void |
doEntryOperations(com.gemstone.gemfire.cache.Region aRegion)
Do random transactional entry operations on the given region ending either with
minTaskGranularityMS or numOpsPerTask.
|
com.gemstone.gemfire.cache.GemFireCache |
getCache()
Get the Cache (using CacheFactory or ClientCacheFactory as needed)
|
void |
initializeQueryService() |
com.gemstone.gemfire.cache.Region |
initializeRegion(String regDescriptName)
Create a region with the given region description name.
|
static void |
putSnapshot(Map snapshot)
Put a region snapshot into the blackboard.
|
protected void |
recordFailedOps(String sharedMapKey)
Use TxHelper.getClientTXOperations() maintain a list of keys for transactions that failed with
TransactionInDoubtExceptions
|
static void |
setTxMgr()
Create a region with the given region description name.
|
protected CQTest testInstance
protected boolean isClientCache
public CQTestVersionHelper(CQTest testInstance)
public static void setTxMgr()
regDescriptName - The name of a region description.public com.gemstone.gemfire.cache.GemFireCache getCache()
public void closeCache()
public com.gemstone.gemfire.cache.Region initializeRegion(String regDescriptName)
regDescriptName - The name of a region description.public void initializeQueryService()
protected void doEntryOperations(com.gemstone.gemfire.cache.Region aRegion)
protected void recordFailedOps(String sharedMapKey)
public static void putSnapshot(Map snapshot)
snapshot - The snapshot to write to the blackboard; this might contain
PdxSerializables.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.