public class WanMultiVersion extends Object
| Constructor and Description |
|---|
WanMultiVersion() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createGatewayHubTask()
Creates a gateway hub using the
CacheServerPrms. |
static void |
createGatewaySenderIdsTask()
Creates GatewaySender ids based on the
WANTestPrms#gatewaySenderConfig. |
static void |
createLocatorTask()
Creates a (disconnected) locator.
|
static SortedSet<String> |
getDistributedSystemsForV70()
Written for explicit wan version tests which has three sites as
A (7.0) connected to B (7.0) and C (6.5).
|
static void |
initEdgeClientTask() |
static void |
initGatewayReceiverTask()
Initializes GatewayReceiver based on the
WANTestPrms#GatewayReceiverConfig. |
static void |
initGatewaySenderTask()
Initializes GatewaySender based on the
WANTestPrms#gatewaySenderConfig. |
static void |
initPeerTask() |
static void |
initServerTask() |
static void |
printRegionDataTask()
Prints the contents of the local cache.
|
static void |
putSequentialKeysTask()
Puts integers into the cache with a globally increasing shared counter as
the key.
|
static void |
registerInterest(com.gemstone.gemfire.cache.Region region)
Registers interest in all keys using the client interest policy.
|
static void |
startGatewayHubTask()
Starts a gateway hub in a VM that previously created one, after creating
gateways.
|
static void |
startLocatorAndAdminDSTask()
Connects a locator to its (admin-only) distributed system.
|
static void |
validateRegion(com.gemstone.gemfire.cache.Region aRegion) |
static void |
validateSequentialKeysTask()
Validates the contents of the local cache.
|
static void |
waitForListenerSilence()
Task to wait for the listener silence before doing validation tasks.
|
static void |
waitForQueuesToDrainTask()
Waits
WANTestPrms.secToWaitForQueue for queues to drain. |
public static void createLocatorTask()
public static void startLocatorAndAdminDSTask()
public static void createGatewaySenderIdsTask()
WANTestPrms#gatewaySenderConfig.public static void initPeerTask()
public static void initServerTask()
public static void initEdgeClientTask()
public static void initGatewaySenderTask()
WANTestPrms#gatewaySenderConfig.public static void initGatewayReceiverTask()
WANTestPrms#GatewayReceiverConfig.public static void createGatewayHubTask()
CacheServerPrms.public static void startGatewayHubTask()
public static void registerInterest(com.gemstone.gemfire.cache.Region region)
public static void putSequentialKeysTask()
throws Exception
Exceptionpublic static void waitForListenerSilence()
public static void waitForQueuesToDrainTask()
WANTestPrms.secToWaitForQueue for queues to drain.
Suitable for use as a helper method or hydra task.public static void validateSequentialKeysTask()
public static void validateRegion(com.gemstone.gemfire.cache.Region aRegion)
public static void printRegionDataTask()
throws Exception
Exceptionpublic static SortedSet<String> getDistributedSystemsForV70()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.