public class RebalanceTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static Object |
listenerSyncObject |
static RebalanceTest |
testInstance |
| Constructor and Description |
|---|
RebalanceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRebalance(com.gemstone.gemfire.cache.control.RebalanceFactory factory)
Cancel rebalance when targetEvent is processed
See rebalance.HAResourceObserver which coordinates listener/vm
activities via the listenerSyncObject
|
void |
createXml(String regDescriptName)
Create an xml file (for this cache).
|
protected static ArrayList |
getAllRegionNames(com.gemstone.gemfire.admin.SystemMemberCache smCache) |
protected static ArrayList |
getRegionNames(com.gemstone.gemfire.admin.SystemMemberCache smCache,
com.gemstone.gemfire.admin.SystemMemberRegion smRegion) |
static void |
HydraTask_adminRebalance()
Rebalance via the Admin API (placeholder)
todo@lhughes
|
static void |
HydraTask_checkPartitionedRegionDetails() |
static void |
HydraTask_createXml()
Create an xml file (for this cache) without creating cache and regions.
|
static void |
HydraTask_initCacheServerXml() |
static void |
HydraTask_rebalanceTask()
Rebalance via the cache api.
|
static void |
HydraTask_rebalanceWithCacheServer() |
static void |
HydraTask_stopStartNonAdminVMs()
Randomly stop and restart vms which are not rebalancing (rebalance must
be part of the clientName).
|
static void |
HydraTask_verifyTargetEventsProcessed() |
void |
killTargetVm(com.gemstone.gemfire.cache.control.RebalanceFactory factory) |
void |
rebalance() |
static void |
setResourceObserver() |
public static RebalanceTest testInstance
public static Object listenerSyncObject
public static void HydraTask_initCacheServerXml()
public static void HydraTask_createXml()
public static void HydraTask_rebalanceWithCacheServer()
public void createXml(String regDescriptName)
regDescriptName - The name of a region description.public static void HydraTask_adminRebalance()
protected static ArrayList getAllRegionNames(com.gemstone.gemfire.admin.SystemMemberCache smCache)
protected static ArrayList getRegionNames(com.gemstone.gemfire.admin.SystemMemberCache smCache, com.gemstone.gemfire.admin.SystemMemberRegion smRegion)
public static void HydraTask_rebalanceTask()
public void rebalance()
public static void setResourceObserver()
public static void HydraTask_checkPartitionedRegionDetails()
public void killTargetVm(com.gemstone.gemfire.cache.control.RebalanceFactory factory)
public void cancelRebalance(com.gemstone.gemfire.cache.control.RebalanceFactory factory)
public static void HydraTask_verifyTargetEventsProcessed()
public static void HydraTask_stopStartNonAdminVMs()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.