public class HAExceptionHandlingTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_BUCKET_IDS |
protected static com.gemstone.gemfire.cache.Region |
aRegion |
static String |
BUCKET_KEYS |
static String |
BUCKETS_ON_NODE |
static String |
CACHE_CLOSED_VM |
static String |
KEY_SET |
static int |
NUM_KEYS |
GsRandom |
random |
protected static HAExceptionHandlingTest |
testInstance |
protected static com.gemstone.gemfire.cache.Cache |
theCache |
| Constructor and Description |
|---|
HAExceptionHandlingTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
clientNormalShutDown()
Task for the client to do crash and come up
|
protected void |
doCacheClose()
Task to either do a cache close for the server and start it back
|
protected void |
doExecuteNodeCacheCloseGetResult(com.gemstone.gemfire.cache.Region region)
Task to do function exectution when the remote node fails (cache close)
|
protected void |
doExecuteNodeFailOverGetResult(com.gemstone.gemfire.cache.Region region)
Task to do function exectution when the remote node fails (vm crash)
|
protected void |
doExecuteWithEntryDestroys(com.gemstone.gemfire.cache.Region region)
Task to do function execution where function execution encounters entries
destroyed during executin
|
protected void |
doRandomFunctionExecutions(com.gemstone.gemfire.cache.Region region)
Task to do function execution on region
|
protected void |
doReExecuteExceptionAllBuckets(com.gemstone.gemfire.cache.Region region)
Task to do verify whether the re-execution in case of customised
re-execution exceptions (in case of all buckets).
|
protected void |
doReExecuteExceptionMultipleBuckets(com.gemstone.gemfire.cache.Region region)
Task to do verify whether the re-execution in case of customised
re-execution exceptions (in case of multiple buckets).
|
protected void |
doReExecuteExceptionSingleBucket(com.gemstone.gemfire.cache.Region region)
Task to do verify whether the re-execution in case of customised
re-execution exceptions (in case of single bucket).
|
protected ClientVmInfo |
getTargetNodeToKill(com.gemstone.gemfire.cache.Region region)
Task to get the target node for vm crash
|
static void |
HydraTask_clientNormalShutDown()
Hydra task to cause normal cache close of vm
|
static void |
HydraTask_doExecuteExpectingExceptions()
Hydra task to execute functions expecting exceptions during execution
|
static void |
HydraTask_doRandomFunctionExecutions()
Hydra task to execute functions expecting exceptions during execution
|
static void |
HydraTask_initializeAccessor()
Hydra task to initialize the accessor
|
static void |
HydraTask_initializeClient()
Hydra task to initialize the client
|
static void |
HydraTask_initializeDataStore()
Hydra task to initialize the data storeo
|
static void |
HydraTask_initializeServer()
Hydra task to initialize the server
|
static void |
HydraTask_populateRegion()
Hydra task to populate the region
|
static void |
HydraTask_populateRegionWithCustomPartition()
Hydra task to populate ther region with custom partitioning enabled
|
static void |
HydraTask_recycleOrCloseCache()
Hydra task to either do a cache close or recycle the vm
|
static void |
HydraTask_reExecuteExceptions()
Hydra task to execute functions when the expected exceptions are wrapped in
by the customer with the FITE - to force re-execution with HA turned on.
|
static void |
HydraTask_registerFunction()
Hydra task to register function
|
static void |
HydraTask_updateBB()
Hydra task to update the BB for adding the keyset to BB
|
static void |
HydraTask_updateBBWithNodes()
Hydra task to update the BB
|
protected void |
initialize(String regionDescriptName)
Task to initialize the cache and the region
|
protected void |
populateRegion(com.gemstone.gemfire.cache.Region region)
Task to populate the region
|
protected void |
populateRegionWithCustomPartition(com.gemstone.gemfire.cache.Region region)
Task to populate the region with custom partitioning (node pruning test)
|
protected void |
recycleOrCloseCache(com.gemstone.gemfire.cache.Region aRegion)
Hydra task to execute functions expecting exceptions during execution
|
protected void |
recycleVM()
Task to either do a cache close for the server and start it back
|
protected void |
updateBB(com.gemstone.gemfire.cache.Region region)
Task to update the BB with the buckets on each nodes and total buckets in
the PR
|
protected void |
updateBBWithNodes(com.gemstone.gemfire.cache.Region region)
Task to update the BB with the buckets on each nodes and total buckets in
the PR
|
protected static HAExceptionHandlingTest testInstance
public GsRandom random
protected static com.gemstone.gemfire.cache.Cache theCache
protected static com.gemstone.gemfire.cache.Region aRegion
public static final int NUM_KEYS
public static final String BUCKETS_ON_NODE
public static final String ALL_BUCKET_IDS
public static final String KEY_SET
public static final String BUCKET_KEYS
public static final String CACHE_CLOSED_VM
public static void HydraTask_initializeDataStore()
public static void HydraTask_initializeAccessor()
public static void HydraTask_initializeServer()
public static void HydraTask_initializeClient()
public static void HydraTask_populateRegion()
public static void HydraTask_populateRegionWithCustomPartition()
public static void HydraTask_registerFunction()
public static void HydraTask_updateBBWithNodes()
public static void HydraTask_updateBB()
public static void HydraTask_clientNormalShutDown()
public static void HydraTask_doExecuteExpectingExceptions()
public static void HydraTask_reExecuteExceptions()
public static void HydraTask_doRandomFunctionExecutions()
public static void HydraTask_recycleOrCloseCache()
protected void recycleOrCloseCache(com.gemstone.gemfire.cache.Region aRegion)
protected void doCacheClose()
protected void recycleVM()
protected void doRandomFunctionExecutions(com.gemstone.gemfire.cache.Region region)
region - protected void doExecuteWithEntryDestroys(com.gemstone.gemfire.cache.Region region)
region - protected void doExecuteNodeCacheCloseGetResult(com.gemstone.gemfire.cache.Region region)
region - protected void doExecuteNodeFailOverGetResult(com.gemstone.gemfire.cache.Region region)
region - protected ClientVmInfo getTargetNodeToKill(com.gemstone.gemfire.cache.Region region)
protected void initialize(String regionDescriptName)
public void clientNormalShutDown()
protected void populateRegion(com.gemstone.gemfire.cache.Region region)
protected void populateRegionWithCustomPartition(com.gemstone.gemfire.cache.Region region)
protected void updateBBWithNodes(com.gemstone.gemfire.cache.Region region)
protected void updateBB(com.gemstone.gemfire.cache.Region region)
protected void doReExecuteExceptionAllBuckets(com.gemstone.gemfire.cache.Region region)
region - protected void doReExecuteExceptionMultipleBuckets(com.gemstone.gemfire.cache.Region region)
region - protected void doReExecuteExceptionSingleBucket(com.gemstone.gemfire.cache.Region region)
region - Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.