public class CoordSelectionTest extends SelectionTest
aRegion, changeLimitMS, testInstance, VmIDStr| Constructor and Description |
|---|
CoordSelectionTest() |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.distributed.DistributedMember |
getCurrentMember()
Return the current coordinator.
|
protected int |
getNumLocators()
Return the number of locators.
|
protected int |
getNumMembersOfInterest()
Return the total number of coordinators
|
protected int |
getNumToStop()
Return the appropriate number of locators to stop.
|
static void |
HydraTask_busyClient()
Keep a client busy with puts.
|
static void |
HydraTask_concCoordSelectionTest()
Hydra task for concurrent coordinator selection test.
|
static void |
HydraTask_initializeClient()
Creates and initializes the singleton instance of CoordSelectionTest
in this VM and initializes a region.
|
static void |
HydraTask_initializeLocator()
Creates and initializes the singleton instance of CoordSelectionTest
in this VM.
|
static void |
HydraTask_serialCoordSelectionTest()
Hydra task for serial coordinator selection test.
|
protected void |
serialVerifyAfterStop(com.gemstone.gemfire.distributed.DistributedMember currentCoord,
int totalNumStopped)
In a serial test, do verification after stopping a coordinator.
|
protected Object[] |
waitForChange(com.gemstone.gemfire.distributed.DistributedMember member,
int msToSleep)
Given a member, wait for the coordinator to become different than
the given member.
|
concSelectionTest, HydraTask_logMembers, initializeInstance, initializeRegion, serialSelectionTest, verifyMemberExists, waitForChangeWithTimeoutpublic static void HydraTask_initializeLocator()
public static void HydraTask_initializeClient()
public static void HydraTask_serialCoordSelectionTest()
public static void HydraTask_concCoordSelectionTest()
public static void HydraTask_busyClient()
protected Object[] waitForChange(com.gemstone.gemfire.distributed.DistributedMember member, int msToSleep)
waitForChange in class SelectionTestmember - A distributed member or null. This method waits until
the current coordinator is different than this one.msToSleep - The number of millis to sleep between checks for
the coordinator.protected int getNumToStop()
getNumToStop in class SelectionTestprotected void serialVerifyAfterStop(com.gemstone.gemfire.distributed.DistributedMember currentCoord,
int totalNumStopped)
serialVerifyAfterStop in class SelectionTestcurrentCoord - The current coordinator.totalNumStopped - The total number of members stopped (and not
yet restarted).protected com.gemstone.gemfire.distributed.DistributedMember getCurrentMember()
getCurrentMember in class SelectionTestprotected int getNumMembersOfInterest()
getNumMembersOfInterest in class SelectionTestprotected int getNumLocators()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.