public class FPRTxParRegTest extends ParRegTest
| Modifier and Type | Field and Description |
|---|---|
static String |
DATASTORE_SEQUENCE_ID |
protected static Long |
dataStoreSequenceId |
protected static com.gemstone.gemfire.cache.Cache |
theCache |
String |
VM_PARTITIONS |
aRegion, bridgeOrderingWorkaround, cacheDef, cacheIsClosed, CLOSE_CACHE, CLOSE_REGION, concVerifyCoordinator, CREATE_INDEX_OPERATION, createCallbackPrefix, currentIntervalKeyIndex, currentValidateKeyIndex, cycleVMs_notChosenVMs, cycleVMs_targetVMs, destroyCallbackPrefix, destroyedKeys, DISCONNECT, disconnected, diskFilesRecorded, distLockService, ENTRY_ADD_OPERATION, ENTRY_DESTROY_OPERATION, ENTRY_DESTROY_PERCENT_OPERATION, ENTRY_GET_NEW_OPERATION, ENTRY_GET_OPERATION, ENTRY_INVALIDATE_OPERATION, ENTRY_LOCAL_DESTROY_OPERATION, ENTRY_LOCAL_DESTROY_PERCENT_OPERATION, ENTRY_LOCAL_INVALIDATE_OPERATION, ENTRY_PUT_IF_ABSENT_AS_CREATE_OPERATION, ENTRY_PUT_IF_ABSENT_AS_GET_OPERATION, ENTRY_PUT_IF_ABSENT_OPERATION, ENTRY_PUTALL_OPERATION, ENTRY_REMOVE_AS_NOOP_OPERATION, ENTRY_REMOVE_OPERATION, ENTRY_REPLACE_AS_NOOP_OPERATION, ENTRY_REPLACE_AS_UPDATE_OPERATION, ENTRY_REPLACE_NO_INVAL_OPERATION, ENTRY_REPLACE_OLD_AS_NOOP_OPERATION, ENTRY_REPLACE_OLD_AS_UPDATE_OPERATION, ENTRY_REPLACE_OLD_NO_INVAL_OPERATION, ENTRY_REPLACE_OLD_OPERATION, ENTRY_REPLACE_OPERATION, ENTRY_UPDATE_OPERATION, exceptionCount, expectOfflineExceptionKey, getCallbackPrefix, hasLRUEntryEviction, hasPRCacheLoader, highAvailability, invalidateCallbackPrefix, isBridgeClient, isBridgeConfiguration, isClientCache, isDataStore, isDataStoreKey, isEmptyClient, isSerialExecution, isThinClient, LOCAL_DESTROY, LOCK_NAME, LOCK_SERVICE_NAME, lockOperations, lowerThreshold, LRUEntryMax, MAX_CHOICES, MAX_CHOICES_FOR_CLIENT_SERVER, minTaskGranularityMS, minTaskGranularitySec, numOpsPerTask, numThreadsInClients, numThreadsInThisVM, numVMsToStop, offHeapVerifyTargetCount, QUERY_OPERATION, randomValues, RECENT_HISTORY, redundantCopies, regDef, regionDestroyCallbackPrefix, regionInvalidateCallbackPrefix, regionLocallyDestroyed, regionSnapshot, registerInterestCoordinator, REMOVE_INDEX_OPERATION, secondsToRun, shutDownAllInProgressKey, testInstance, thisVmRunningHAController, txDestroyedKeys, txRegionSnapshot, uniqueHostsOn, uniqueKeyIndex, uniqueKeys, updateCallbackPrefix, upperThreshold, VmIDStr| Constructor and Description |
|---|
FPRTxParRegTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
createCacheFromXml(String cacheXmlFile)
Create cache from the xml file
|
void |
createXmlFile(File aFile)
Method to create the xml from the cache.
|
protected List<String> |
getPartitionNames(List<com.gemstone.gemfire.internal.cache.FixedPartitionAttributesImpl> fpas)
Utility method that give list of parititon names from the list of
FixedPartitionAttributes
|
String |
HA_reinitializeRegion(String cachePrmsName)
Re-Initialize a VM which has restarted by creating the appropriate region.
|
static void |
HydraTask_HA_initializeAccessor()
Creates and initializes the singleton instance of ParRegTest in this VM
for HA testing with a PR accessor.
|
static void |
HydraTask_HA_initializeDataStore()
Creates and initializes the singleton instance of ParRegTest in this VM
for HA testing with a PR data store.
|
static void |
HydraTask_HA_reinitializeAccessor()
Creates and initializes the singleton instance of ParRegTest in this VM for
HA testing.
|
static void |
HydraTask_HA_reinitializeDataStore()
Creates and initializes the singleton instance of ParRegTest in this VM for
HA testing.
|
static void |
HydraTask_initialize()
Creates and initializes the singleton instance of ParRegTest in this VM.
|
static void |
HydraTask_verifyFixedPartitioning()
Task to verify the fixed partitioning
|
void |
initializeRegion(String regDescriptName)
Create a region with the given region description name.
|
void |
reInitializeRegion(String regDescriptName) |
static void |
StartTask_initialize() |
protected void |
verifyPartitionNumBuckets(com.gemstone.gemfire.internal.cache.PartitionedRegion pr,
List<com.gemstone.gemfire.internal.cache.FixedPartitionAttributesImpl> fpas,
Map<String,Set<Integer>> partition2Buckets)
Validation method that verifies whether the partition num buckets for
partitions are satisfied.
|
protected void |
verifyPrimaryFixedPartitioning()
Method to verify the fixed partitioning of the primary partitions
|
protected void |
verifySecondaryFixedPartitioning()
Method to verify the fixed partitioning of the secondary partitions
|
addEntry, checkForLastIteration, checkForLastIteration, clearBBCriticalState, concVerify, createObject, cycleVms, cycleVMsNoWait, deleteDir, deleteExistingDiskDirs, destroyEntry, destroyPercent, doConcOps, doConcOpsAndVerify, doEntryOperations, doIntervalOps, doRROpsAndVerify, doShutDownAllMembers, getCachePrmsName, getClientRegionConfigName, getIsDataStore, getKey, getNewKey, getNewKey, getOffHeapVerifyTargetCount, getOperation, getOperation, getRecentKey, getRegionConfigName, getUpdateObject, getValueForBB, getValueForKey, HA_reinitializeClientRegion, HA_reinitializeRegion, HAController, HADoEntryOps, handleException, HydraTask_assignBucketsToPartitions, HydraTask_disconnect, HydraTask_doConcOps, HydraTask_doConcOpsAndVerify, HydraTask_doEntryOps, HydraTask_doEntryOpsDataLoss, HydraTask_doIntervalOps, HydraTask_doRROpsAndVerify, HydraTask_HA_reinitializeWithClientCache, HydraTask_HAController, HydraTask_HADoEntryOps, HydraTask_initializeBridgeServer, HydraTask_initializeBridgeServerAccessor, HydraTask_initializeWithClientCache, HydraTask_initializeWithRegDef, HydraTask_loadToUpperThreshold, HydraTask_logLocalSize, HydraTask_prepareForRecovery, HydraTask_prepareForValidation, HydraTask_recoveryController, HydraTask_recoveryEntryOps, HydraTask_restoreBackups, HydraTask_shutDownAllHAController, HydraTask_shutDownAllHADoEntryOps, HydraTask_startVmAndRebalance, HydraTask_stopStartVMs, HydraTask_validateInternalPRState, HydraTask_validateIntervalOps, HydraTask_validatePR, HydraTask_validateRegionContents, HydraTask_verifyFromSnapshotAndSync, HydraTask_verifyRecoveredVMsFromSnapshotAndSync, HydraTask_waitForMyStartupRecovery, HydraTask_waitForStartupRecovery, HydraTask_writeDiskDirsToBB, initForIntervalValidation, initializeClientRegion, initializeInstance, initializeRegion, initializeWithRegDef, initPdxDiskStore, invalidateEntry, logExecutionNumber, loseAndRecreatePR, putAll, putIfAbsent, putIfAbsentAsCreate, putIfAbsentAsGet, recordFailedOps, recoveryController, recoveryEntryOps, registerInterest, remove, removeAccessors, removeAsNoop, replace, replaceAsNoop, replaceAsUpdate, replaceOld, replaceOldAsNoop, replaceOldAsUpdate, restoreRegionSnapshot, runRestoreScript, saveRegionSnapshot, setUniqueKeyIndex, shutDownAllHAController, shutDownAllHADoEntryOps, updateEntry, validateAfterRestore, validateIntervalOps, verifyFromSnapshot, verifyFromSnapshotOnly, verifyHDFSRegionFromSnapshot, verifyInternalPRState, verifyServerKeysFromSnapshot, verifyThinClientFromSnapshot, waitForRecoveryAfterCycleVMs, waitForSelfRecovery, writeHDFSRegionSnapshotToBBpublic final String VM_PARTITIONS
public static final String DATASTORE_SEQUENCE_ID
protected static Long dataStoreSequenceId
protected static com.gemstone.gemfire.cache.Cache theCache
public static void StartTask_initialize()
public static void HydraTask_initialize()
public static void HydraTask_HA_initializeDataStore()
public static void HydraTask_HA_initializeAccessor()
public static void HydraTask_HA_reinitializeAccessor()
public static void HydraTask_HA_reinitializeDataStore()
public void initializeRegion(String regDescriptName)
initializeRegion in class ParRegTestregDescriptName - The name of a region description.public void createXmlFile(File aFile)
public String HA_reinitializeRegion(String cachePrmsName)
HA_reinitializeRegion in class ParRegTestpublic void reInitializeRegion(String regDescriptName)
public void createCacheFromXml(String cacheXmlFile)
public static void HydraTask_verifyFixedPartitioning()
protected void verifyPrimaryFixedPartitioning()
pr - protected void verifySecondaryFixedPartitioning()
pr - protected void verifyPartitionNumBuckets(com.gemstone.gemfire.internal.cache.PartitionedRegion pr,
List<com.gemstone.gemfire.internal.cache.FixedPartitionAttributesImpl> fpas,
Map<String,Set<Integer>> partition2Buckets)
pr - Partitioned Regionfpas - List of FixedPartitionAttributespartition2Buckets - Map of partition to bucketsprotected List<String> getPartitionNames(List<com.gemstone.gemfire.internal.cache.FixedPartitionAttributesImpl> fpas)
fpas - list of FixedPartitionAttributesCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.