public class SBParRegTest extends ParRegTest
| Modifier and Type | Field and Description |
|---|---|
protected com.gemstone.gemfire.cache.Region |
controllerRegion |
protected static String |
IsDataStoreVmStr |
protected List |
vmList |
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 |
|---|
SBParRegTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cycleVmsNoWait()
Choose numVMsToStop vms, then cause them to get a forced disconnect.
|
void |
doRROpsAndVerify()
override
|
int |
getOffHeapVerifyTargetCount()
Return the number of threads across the entire test that call off-heap memory validation.
|
String |
HA_reinitializeRegion() |
protected void |
HAController()
Stop vms with stop/start or forced disconnects
|
protected void |
handleException(Exception anExcept)
Handle an exception thrown by doing general operations during HA.
|
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_waitForStartupRecovery()
If this vm has a startup delay, wait for it.
|
static void |
initAccessorAfterForcedDisconnect()
Recreate an accessor region after a forced disconnect.
|
static void |
initDataStoreAfterForcedDisconnect()
Recreate a datastore region after a forced disconnect.
|
void |
initializeInstance()
Initialize this test instance
|
protected void |
loseAndRecreatePR()
Lose the partitioned region by doing each of the following in no
particular order:
1) close the cache
2) disconnect from the distributed system
3) locally destroy the PR
(this is skipped if a bridge server; see bug 36812)
4) close the PR
(this is skipped if a bridge server; see bug 36812)
Then recreate the PR after each, verifying the PR state.
|
protected void |
reset()
Reset the map counters
|
protected void |
waitForRecoveryAfterCycleVMs()
Waits for redundancy recovery after calling cycleVMsNoWait
|
addEntry, checkForLastIteration, checkForLastIteration, clearBBCriticalState, concVerify, createObject, cycleVms, cycleVMsNoWait, deleteDir, deleteExistingDiskDirs, destroyEntry, destroyPercent, doConcOps, doConcOpsAndVerify, doEntryOperations, doIntervalOps, doShutDownAllMembers, getCachePrmsName, getClientRegionConfigName, getIsDataStore, getKey, getNewKey, getNewKey, getOperation, getOperation, getRecentKey, getRegionConfigName, getUpdateObject, getValueForBB, getValueForKey, HA_reinitializeClientRegion, HA_reinitializeRegion, HADoEntryOps, HydraTask_assignBucketsToPartitions, HydraTask_disconnect, HydraTask_doConcOps, HydraTask_doConcOpsAndVerify, HydraTask_doEntryOps, HydraTask_doEntryOpsDataLoss, HydraTask_doIntervalOps, HydraTask_doRROpsAndVerify, HydraTask_HA_reinitializeWithClientCache, HydraTask_HAController, HydraTask_HADoEntryOps, HydraTask_initialize, 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_writeDiskDirsToBB, initForIntervalValidation, initializeClientRegion, initializeRegion, 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, waitForSelfRecovery, writeHDFSRegionSnapshotToBBprotected static String IsDataStoreVmStr
protected com.gemstone.gemfire.cache.Region controllerRegion
protected List vmList
public static void HydraTask_HA_initializeAccessor()
public static void HydraTask_HA_initializeDataStore()
public static void initAccessorAfterForcedDisconnect()
public static void initDataStoreAfterForcedDisconnect()
public static void HydraTask_HA_reinitializeAccessor()
public static void HydraTask_HA_reinitializeDataStore()
public static void HydraTask_waitForStartupRecovery()
protected void HAController()
HAController in class ParRegTestprotected void reset()
public void doRROpsAndVerify()
doRROpsAndVerify in class ParRegTestprotected void cycleVmsNoWait()
protected void waitForRecoveryAfterCycleVMs()
ParRegTestwaitForRecoveryAfterCycleVMs in class ParRegTestprotected void handleException(Exception anExcept)
handleException in class ParRegTestpublic String HA_reinitializeRegion()
HA_reinitializeRegion in class ParRegTestprotected void loseAndRecreatePR()
public int getOffHeapVerifyTargetCount()
getOffHeapVerifyTargetCount in class ParRegTestpublic void initializeInstance()
ParRegTestinitializeInstance in class ParRegTestCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.