public class ParRegWBCLTest extends ParRegTest
| Modifier and Type | Field and Description |
|---|---|
static boolean |
isDatastoreNewWanConfigured |
com.gemstone.gemfire.cache.Region |
wbclRegion |
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 |
|---|
ParRegWBCLTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
concVerify() |
protected void |
createAsyncEventQueue()
Creates a async event queue using the
ConfigPrms.asyncEventQueueConfig. |
protected void |
createGatewayHub()
Creates a gateway hub using the
CacheServerPrms. |
protected void |
createGatewayHub(String gatewayHubConfig)
Re-creates a gateway hub (within HAController method)
|
protected void |
cycleVMsNoWait()
Overrides ParRegTest.cycleVMsNoWait().
|
int |
getOffHeapVerifyTargetCount()
Return the number of threads across the entire test that call off-heap memory validation.
|
String |
HA_reinitializeRegion(String cachePrmsName)
Re-Initialize a VM which has restarted by creating the appropriate region.
|
protected void |
HAController()
Cycle through all VMs, killing one or more at a time, then bring them back.
|
static void |
HydraTask_HA_initializeAccessor()
Creates and initializes the singleton instance of ParRegWBCLTest 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_initializeDatastoreNewWanWBCL()
Create cache & region as defined by ConfigPrms.
|
static void |
HydraTask_HA_initializeNewWanWBCL()
Creates and initializes the singleton instance of ParRegWBCLTest in this VM.
|
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_HADoEntryOps() |
static void |
HydraTask_initialize()
Creates and initializes the singleton instance of ParRegWBCLTest in this VM.
|
static void |
HydraTask_initializeNewWanWBCL()
Create AsyncEventListener as defined by
ConfigPrms.asyncEventQueueConfig
Create cache & region as defined by ConfigPrms. |
static void |
HydraTask_initializeRegion()
Create cache & region as defined by ConfigPrms.
|
static void |
HydraTask_verifyWBCLRegion()
Create cache & region as defined by ConfigPrms.
|
void |
initializeInstance()
Initialize this test instance
|
protected com.gemstone.gemfire.cache.Region |
initializeRegion() |
boolean |
isNewWan() |
protected void |
startGatewayHub(String gatewayConfig)
Starts a gateway hub in a VM that previously created one, after creating
gateways.
|
static void |
startGatewayHubTask()
Starts a gateway hub in a VM that previously created one, after creating
gateways.
|
void |
verifyFromSnapshot()
Verify the region contents against the blackboard AND verify the
internal state of the PR.
|
void |
verifyWBCLRegion()
Verify wbcl local region against the region snapshot
|
protected void |
waitForRecoveryAfterCycleVMs()
Waits for redundancy recovery after calling cycleVMsNoWait
|
protected void |
waitForSelfRecovery()
Waits for recovery in self vm after reconnect
|
addEntry, checkForLastIteration, checkForLastIteration, clearBBCriticalState, createObject, cycleVms, deleteDir, deleteExistingDiskDirs, destroyEntry, destroyPercent, doConcOps, doConcOpsAndVerify, doEntryOperations, doIntervalOps, doRROpsAndVerify, doShutDownAllMembers, getCachePrmsName, getClientRegionConfigName, getIsDataStore, getKey, getNewKey, getNewKey, getOperation, getOperation, getRecentKey, getRegionConfigName, getUpdateObject, getValueForBB, getValueForKey, HA_reinitializeClientRegion, HA_reinitializeRegion, HADoEntryOps, handleException, HydraTask_assignBucketsToPartitions, HydraTask_disconnect, HydraTask_doConcOps, HydraTask_doConcOpsAndVerify, HydraTask_doEntryOps, HydraTask_doEntryOpsDataLoss, HydraTask_doIntervalOps, HydraTask_doRROpsAndVerify, HydraTask_HA_reinitializeWithClientCache, HydraTask_HAController, 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, 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, verifyFromSnapshotOnly, verifyHDFSRegionFromSnapshot, verifyInternalPRState, verifyServerKeysFromSnapshot, verifyThinClientFromSnapshot, writeHDFSRegionSnapshotToBBpublic com.gemstone.gemfire.cache.Region wbclRegion
public static boolean isDatastoreNewWanConfigured
public static void startGatewayHubTask()
protected void startGatewayHub(String gatewayConfig)
protected void createGatewayHub()
CacheServerPrms.protected void createGatewayHub(String gatewayHubConfig)
protected void createAsyncEventQueue()
ConfigPrms.asyncEventQueueConfig.public static void HydraTask_initialize()
public static void HydraTask_initializeNewWanWBCL()
ConfigPrms.asyncEventQueueConfig
Create cache & region as defined by ConfigPrms.
Used in newWan WBCL tests to create a separate local wbcl regionpublic static void HydraTask_initializeRegion()
protected com.gemstone.gemfire.cache.Region initializeRegion()
public static void HydraTask_HA_initializeAccessor()
public static void HydraTask_HA_initializeDataStore()
public static void HydraTask_HA_initializeNewWanWBCL()
ConfigPrms.asyncEventQueueConfig
Create cache & region as defined by ConfigPrms.
Used in newWan WBCL tests to create a separate local wbcl regionpublic static void HydraTask_HA_initializeDatastoreNewWanWBCL()
public static void HydraTask_HA_reinitializeAccessor()
public static void HydraTask_HA_reinitializeDataStore()
public void initializeInstance()
ParRegTestinitializeInstance in class ParRegTestpublic String HA_reinitializeRegion(String cachePrmsName)
HA_reinitializeRegion in class ParRegTestpublic static void HydraTask_HADoEntryOps()
protected void HAController()
ParRegTestHAController in class ParRegTestprotected void cycleVMsNoWait()
cycleVMsNoWait in class ParRegTestprotected void concVerify()
concVerify in class ParRegTestpublic void verifyFromSnapshot()
verifyFromSnapshot in class ParRegTestprotected void waitForRecoveryAfterCycleVMs()
waitForRecoveryAfterCycleVMs in class ParRegTestprotected void waitForSelfRecovery()
waitForSelfRecovery in class ParRegTestpublic static void HydraTask_verifyWBCLRegion()
public void verifyWBCLRegion()
public boolean isNewWan()
public int getOffHeapVerifyTargetCount()
ParRegTestgetOffHeapVerifyTargetCount in class ParRegTestCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.