public class FillTest extends ParRegTest
| Modifier and Type | Field and Description |
|---|---|
protected static int |
FIXED_LENGTH_KEY_SIZE |
protected long |
lowerThresholdNumEntries |
protected int |
myAlertCounter |
protected String |
myAlertCounterName |
protected long |
myLocalMaxMemoryMB |
protected int |
numVMs |
protected long |
upperThresholdNumEntries |
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 |
|---|
FillTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToRegion() |
protected void |
addToRegionCallbackPartitionResolver() |
protected void |
addToRegionKeyPartitionResolver() |
protected void |
addToRegionValueRoutingResolver() |
protected void |
addToRegionWithPartitionResolver() |
protected void |
checkAlertError()
Check if an alert has recorded an error in the blackboard.
|
void |
dumpAllTheBuckets() |
static void |
dumpBuckets() |
protected void |
endTestIfOver()
Deteremine if the test is over and if it is, throw StopSchedulingException.
|
protected static Object |
getFixedLengthKey() |
static void |
HydraTask_addAlertListener()
Adds an alert listener to the admin distributed system.
|
static void |
HydraTask_addToRegion() |
static void |
HydraTask_addToRegionWithPartitionResolver() |
static void |
HydraTask_disconnect() |
static void |
HydraTask_initializeAccessor()
Creates and initializes the singleton instance of FillTest in this VM.
|
static void |
HydraTask_initializeDataStore()
Creates and initializes the singleton instance of FillTest in this VM.
|
static void |
HydraTask_monitorAlerts() |
static void |
HydraTask_verify()
Verify the alerts caused by exceeding local max memory.
|
static void |
HydraTask_verifyCustomPartitioning()
Task to verify custom partitioning.
|
static void |
HydraTask_verifyPR() |
protected void |
initializeForAccessor(String specName)
Initialize the region as an accessor that does not participate
in exceeded LocalMaxMemory.
|
void |
initializeInstance()
initialize instance fields of this class
|
protected void |
initializeWithRegDef(String specName)
Initialize the region with a different value of LOCAL_MAX_MEMORY
for each VM.
|
protected void |
monitorAlerts() |
protected void |
verify()
Verify that each alert for this VM's localMaxMemory setting occurred at the correct time.
|
protected void |
verifyCustomPartition(Map map,
int bucketid) |
protected void |
verifyCustomPartitioning() |
void |
verifyPR() |
protected void |
verifyUniqueBucketForCustomPartioning(int bucketId)
Task to verify that there is only a single bucket id for a routing Object
|
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, HA_reinitializeRegion, HAController, HADoEntryOps, handleException, HydraTask_assignBucketsToPartitions, HydraTask_doConcOps, HydraTask_doConcOpsAndVerify, HydraTask_doEntryOps, HydraTask_doEntryOpsDataLoss, HydraTask_doIntervalOps, HydraTask_doRROpsAndVerify, HydraTask_HA_initializeAccessor, HydraTask_HA_initializeDataStore, HydraTask_HA_reinitializeAccessor, HydraTask_HA_reinitializeDataStore, 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_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, verifyFromSnapshot, verifyFromSnapshotOnly, verifyHDFSRegionFromSnapshot, verifyInternalPRState, verifyServerKeysFromSnapshot, verifyThinClientFromSnapshot, waitForRecoveryAfterCycleVMs, waitForSelfRecovery, writeHDFSRegionSnapshotToBBprotected long myLocalMaxMemoryMB
protected long lowerThresholdNumEntries
protected long upperThresholdNumEntries
protected String myAlertCounterName
protected int myAlertCounter
protected int numVMs
protected static final int FIXED_LENGTH_KEY_SIZE
public static void HydraTask_initializeDataStore()
public static void HydraTask_initializeAccessor()
protected void initializeWithRegDef(String specName)
protected void initializeForAccessor(String specName)
public void initializeInstance()
initializeInstance in class ParRegTestpublic static void HydraTask_addAlertListener()
public static void HydraTask_disconnect()
public static void HydraTask_addToRegion()
protected void addToRegion()
public static void HydraTask_addToRegionWithPartitionResolver()
protected void addToRegionWithPartitionResolver()
protected void addToRegionValueRoutingResolver()
protected void addToRegionKeyPartitionResolver()
protected void addToRegionCallbackPartitionResolver()
public static void HydraTask_monitorAlerts()
protected void monitorAlerts()
public static void HydraTask_verify()
protected void verify()
public static void HydraTask_verifyCustomPartitioning()
protected void verifyCustomPartitioning()
protected void verifyCustomPartition(Map map, int bucketid)
protected void verifyUniqueBucketForCustomPartioning(int bucketId)
public static void dumpBuckets()
public void dumpAllTheBuckets()
public static void HydraTask_verifyPR()
public void verifyPR()
protected void checkAlertError()
protected void endTestIfOver()
protected static Object getFixedLengthKey()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.