public class ElderTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ObjectToLock |
| Constructor and Description |
|---|
ElderTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
becomeLockGrantorTask()
Use DistributedLockService API to become lock grantor.
|
static void |
countGrantorsTask()
Use DistributedLockService API to detect whether current member is
the lock grantor.
|
static void |
disconnectIfElderTask()
Task to disconnect if current member is the elder
|
static void |
disruptElderTask() |
static void |
identifyElderTask()
Task to identify the Distributed Lock Service elder
The only way to identify the elder is to have each member
check to see if it is the elder.
|
static void |
initElderTask()
InitTask to track the order in which members are started
via a list stored in the blackboard.
|
static void |
initTask() |
protected static com.gemstone.gemfire.LogWriter |
log() |
protected static ConfigHashtable |
tab() |
static void |
verifyElderTask()
Task to verify Elder per test is same Elder per GemFire
|
protected static final String ObjectToLock
public static void initTask()
public static void initElderTask()
public static void disruptElderTask()
public static void verifyElderTask()
public static void identifyElderTask()
public static void disconnectIfElderTask()
public static void becomeLockGrantorTask()
public static void countGrantorsTask()
protected static com.gemstone.gemfire.LogWriter log()
protected static ConfigHashtable tab()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.