public class RollingUpgradeTest extends OperationsClient
| Modifier and Type | Field and Description |
|---|---|
protected List<com.gemstone.gemfire.cache.Region> |
allRegions |
createCallbackPrefix, destroyCallbackPrefix, distLockService, ENTRY_ADD_OPERATION, ENTRY_DESTROY_OPERATION, ENTRY_GET_NEW_OPERATION, ENTRY_GET_OPERATION, ENTRY_INVALIDATE_OPERATION, ENTRY_LOCAL_DESTROY_OPERATION, ENTRY_LOCAL_INVALIDATE_OPERATION, ENTRY_PUTALL_OPERATION, ENTRY_UPDATE_OPERATION, getCallbackPrefix, invalidateCallbackPrefix, LOCK_NAME, LOCK_SERVICE_NAME, lockOperations, lowerThreshold, minTaskGranularityMS, minTaskGranularitySec, numOpsPerTask, PUT_IF_ABSENT_OPERATION, randomValues, regionDestroyCallbackPrefix, regionInvalidateCallbackPrefix, REMOVE_OPERATION, REPLACE_OPERATION, updateCallbackPrefix, upperThreshold, useTransactions, VmIDStr| Constructor and Description |
|---|
RollingUpgradeTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createXmlFile_Client(String regionDescriptName,
String cacheConfig)
Create an xml file for the current cache and all its regions and write it
to the blackboard for later use.
|
protected static String |
getXmlFileName(int vmId)
Given a vmId, return the xml file name for it
|
static void |
HydraTask_createLocator() |
static void |
HydraTask_createXmlFile()
Create an xml file for the current cache and all its regions and write it
to the blackboard for later use.
|
static void |
HydraTask_doOperations() |
static void |
HydraTask_doOperationsAndPauseVerify() |
static void |
HydraTask_initController()
Initialize the compatibility test controller
|
static void |
HydraTask_initialize()
Creates and initializes a server or peer.
|
static void |
HydraTask_initializeWithXml()
Creates and initializes a server or peer using xml from an oldVersion jvm.
|
static void |
HydraTask_loadRegions() |
static void |
HydraTask_startLocatorAndDS() |
static void |
HydraTask_UpgradeController() |
static void |
HydraTask_UpgradeControllerNoVerify() |
static void |
HydraTask_UpgradeLocators() |
static void |
HydraTask_verifySnapshot() |
void |
loadRegions()
Load each region in this vm with PdxPrms.numToLoadPerRegion entries.
|
protected static void |
registerInterest()
Register interest with ALL_KEYS, and InterestPolicyResult = KEYS_VALUES
which is equivalent to a full GII.
|
protected void |
verifyFromSnapshot()
For each region written to the blackboard, verify its state against the region
in this vm.
|
void |
verifyFromSnapshot(com.gemstone.gemfire.cache.Region aRegion,
Map regionSnapshot)
Verify that the given region is consistent with the given snapshot.
|
addEntry, createLocatorTask, destroyEntry, doEntryOperations, getExistingKey, getExistingKeys, getKey, getNewKey, getNewKey, getOperation, getRecentKey, getUpdateObject, getValueForKey, initializeOperationsClient, invalidateEntry, putAll, putIfAbsent, remove, remove, replace, replace, startAndConnectLocatorTask, stopLocatorTask, updateEntryprotected List<com.gemstone.gemfire.cache.Region> allRegions
public static void HydraTask_createLocator()
throws Throwable
Throwablepublic static void HydraTask_startLocatorAndDS()
throws Throwable
Throwablepublic static void HydraTask_initialize()
public static void HydraTask_initializeWithXml()
public static void HydraTask_initController()
protected static void registerInterest()
protected static String getXmlFileName(int vmId)
vmId - The vmId of a test jvm.public static void HydraTask_createXmlFile()
public static void createXmlFile_Client(String regionDescriptName, String cacheConfig)
public static void HydraTask_doOperationsAndPauseVerify()
public static void HydraTask_doOperations()
public static void HydraTask_UpgradeController()
public static void HydraTask_UpgradeControllerNoVerify()
public static void HydraTask_verifySnapshot()
public static void HydraTask_UpgradeLocators()
throws Exception
Exceptionprotected void verifyFromSnapshot()
public void verifyFromSnapshot(com.gemstone.gemfire.cache.Region aRegion,
Map regionSnapshot)
aRegion - The region to verifysnapshot - The expected contents of aRegion.public static void HydraTask_loadRegions()
public void loadRegions()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.