public abstract class SelectionTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.gemstone.gemfire.cache.Region |
aRegion |
protected long |
changeLimitMS |
protected static SelectionTest |
testInstance |
protected static String |
VmIDStr |
| Constructor and Description |
|---|
SelectionTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
concSelectionTest(String matchStr)
Concurrent selection test.
|
protected abstract com.gemstone.gemfire.distributed.DistributedMember |
getCurrentMember() |
protected abstract int |
getNumMembersOfInterest() |
protected abstract int |
getNumToStop() |
static void |
HydraTask_logMembers()
Log the current lead member and coordinator.
|
protected void |
initializeInstance()
Initialize the test instance.
|
protected void |
initializeRegion(String regDescriptName)
Create a region with the given region description name.
|
protected void |
serialSelectionTest()
Serial selection test.
|
protected abstract void |
serialVerifyAfterStop(com.gemstone.gemfire.distributed.DistributedMember member,
int totalNumStopped) |
protected void |
verifyMemberExists(com.gemstone.gemfire.distributed.DistributedMember member)
Verify that the given member exists.
|
protected abstract Object[] |
waitForChange(com.gemstone.gemfire.distributed.DistributedMember member,
int msToSleep) |
protected com.gemstone.gemfire.distributed.DistributedMember |
waitForChangeWithTimeout(com.gemstone.gemfire.distributed.DistributedMember member)
Wait for a member change.
|
protected static SelectionTest testInstance
protected static final String VmIDStr
protected com.gemstone.gemfire.cache.Region aRegion
protected long changeLimitMS
protected abstract Object[] waitForChange(com.gemstone.gemfire.distributed.DistributedMember member, int msToSleep)
protected abstract int getNumMembersOfInterest()
protected abstract int getNumToStop()
protected abstract void serialVerifyAfterStop(com.gemstone.gemfire.distributed.DistributedMember member,
int totalNumStopped)
protected abstract com.gemstone.gemfire.distributed.DistributedMember getCurrentMember()
public static void HydraTask_logMembers()
protected void initializeRegion(String regDescriptName)
regDescriptName - The name of a region description.protected void initializeInstance()
protected void serialSelectionTest()
protected void concSelectionTest(String matchStr)
matchStr - The members to stop must contain this String in their name.protected com.gemstone.gemfire.distributed.DistributedMember waitForChangeWithTimeout(com.gemstone.gemfire.distributed.DistributedMember member)
member - A distributed member or null. This method waits until
the current lead member or coordinator is different than this one.protected void verifyMemberExists(com.gemstone.gemfire.distributed.DistributedMember member)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.