public class MembershipTest extends Object
MembershipBB to keep track of the members of the
distributed system according to the test.MemberPrms| Modifier and Type | Field and Description |
|---|---|
protected static MembershipTest |
memberTest |
| Constructor and Description |
|---|
MembershipTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeCache()
Closes the cache and optionally re-opens
|
protected void |
disconnect()
Disconnects the current VM from the distributed system.
|
void |
disruptMember()
Disrupts members of the distributed system (kills, kills/restarts, closes cache,
disconnects/reconnects) and then checks for system membership update.
|
void |
disruptOther()
Kills another member of the distributed system.
|
static void |
HydraTask_closeCache()
A Hydra task that closes the cache and optionally re-connects
|
static void |
HydraTask_disconnect()
A Hydra task that disconnects the current VM from the distributed system.
|
static void |
HydraTask_disruptMember()
A Hydra task that disrupts members of the distributed system
(kills/restarts, disconnects/reconnects)
|
static void |
HydraTask_disruptOther()
A Hydra task that selects and kills another members of the distributed system
|
static void |
HydraTask_initForRestart()
Hydra task for test initialization upon dynamic restart of VM
|
static void |
HydraTask_initialize()
Hydra task for test initialization.
|
static void |
HydraTask_killVm()
A Hydra task that selects and kills another member of the distributed system
|
static void |
HydraTask_stopSelf()
A Hydra task that kills/restarts the current logical VM
|
static void |
HydraTask_verifyMembership()
Hydra task which verifies members of the distributed system (per GemFire) match
members per the test/
|
static void |
HydraTask_verifyMembershipAfterChange()
Waits until no membership change in progress and then
proceeds to verify membership
|
protected void |
initForRestart()
Calls initialize to add member info to blackboard and then
updates blackboard to indicated member change no longer in progress.
|
protected void |
initialize()
Records vmid and pid of client in the blackboard shared map, connects
to distributed system.
|
void |
killVm()
Kills a client VM other than the current one.
|
void |
printMemberInfo()
Prints member pids, vm kind for GemFire members, View members
|
protected void |
stopSelf()
Kills logical VM with immediate restart requested.
|
protected static MembershipTest memberTest
public static void HydraTask_initialize()
protected void initialize()
public static void HydraTask_initForRestart()
protected void initForRestart()
public static void HydraTask_disruptMember()
public void disruptMember()
public static void HydraTask_disruptOther()
public void disruptOther()
public static void HydraTask_killVm()
public void killVm()
public static void HydraTask_stopSelf()
protected void stopSelf()
public static void HydraTask_closeCache()
protected void closeCache()
public static void HydraTask_disconnect()
protected void disconnect()
public static void HydraTask_verifyMembership()
public static void HydraTask_verifyMembershipAfterChange()
public void printMemberInfo()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.