public class MultRegionsClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
CLEAR_REGION |
protected boolean |
cqsOn |
protected static int |
INVALIDATE |
protected static int |
INVALIDATE_REGION |
protected int |
lowerThreshold |
protected Integer |
numOfCurrentPutAllOps |
protected boolean |
performedClearRegion |
protected boolean |
performedDestroyRegion |
protected boolean |
performedInvalidateRegion |
protected static int |
PUT |
protected static int |
PUT_ALL |
protected Boolean |
regionOpsTryLock |
protected static com.gemstone.gemfire.cache.Region[] |
regions |
protected static int |
REMOVE |
protected static Random |
rnd |
protected static MultRegionsClient |
testInstance |
protected int |
upperThreshold |
| Constructor and Description |
|---|
MultRegionsClient() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearRegion()
to specify a region for region ops.
|
protected void |
clearRegion(String regionName)
clearRegion will be used in serial test to clear all the entries in the specified region
there will be only one region operation in any single test run
|
protected void |
destroyRegion()
to specify a region for region ops.
|
protected void |
destroyRegion(String regionName)
perform destroy region operation on the specified region.
|
protected void |
edgeExecuteCQ() |
protected void |
executeCQ()
to test what happens if invoke CQs after destroyRegion().
|
static void |
feedData() |
protected int |
getEntryOperation(Long whichPrm) |
protected int |
getRegionOperation(Long whichPrm)
to determine which region operation to perform based on MapPrms.regionOperationName
|
static void |
HydraTask_destroyRegion()
Hydra task to perform region operation -- destroyRegion.
|
static void |
HydraTask_executeCQ() |
static void |
HydraTask_initialize() |
static void |
HydraTask_invalidateRegion()
hydra task to perform invalidate region ops.
|
static void |
HydraTask_performEntryOperations() |
static void |
HydraTask_serialRegionOps()
hydraTask to perform one of the following two region operations: region.clear() and
region.invalidateRegion().
|
protected void |
initialize() |
protected void |
invalidateObject(String regionName) |
protected void |
invalidateRegion()
to specify a region for region ops.
|
protected void |
invalidateRegion(String regionName)
perform invalidateRegion operation on the specified region.
|
protected void |
loadData() |
protected void |
performEntryOperations() |
protected void |
performEntryOperations(String regionName) |
protected void |
performRegionOperations()
perform one of the region operations.
|
protected void |
putAllObjects(String regionName) |
protected void |
putObject(String regionName) |
protected void |
registerCQs()
for edges to registerCQs
|
protected static void |
releaseConnections() |
protected void |
removeObject(String regionName) |
protected static MultRegionsClient testInstance
protected Boolean regionOpsTryLock
protected Integer numOfCurrentPutAllOps
protected boolean performedDestroyRegion
protected boolean performedInvalidateRegion
protected boolean performedClearRegion
protected boolean cqsOn
protected static Random rnd
protected int lowerThreshold
protected int upperThreshold
protected static final int CLEAR_REGION
protected static final int INVALIDATE_REGION
protected static final int PUT
protected static final int PUT_ALL
protected static final int REMOVE
protected static final int INVALIDATE
protected static com.gemstone.gemfire.cache.Region[] regions
public static void HydraTask_initialize()
protected void initialize()
protected void registerCQs()
public static void HydraTask_destroyRegion()
protected void destroyRegion()
protected void destroyRegion(String regionName)
regionName - - used to determine the region performing region opspublic static void HydraTask_serialRegionOps()
protected int getRegionOperation(Long whichPrm)
whichPrm - - determines which region operationprotected void performRegionOperations()
protected void clearRegion()
protected void clearRegion(String regionName)
regionName - - specified region to be clearedpublic static void HydraTask_executeCQ()
protected void executeCQ()
protected void edgeExecuteCQ()
public static void HydraTask_invalidateRegion()
protected void invalidateRegion()
protected void invalidateRegion(String regionName)
regionName - - used to determine the region performing region opspublic static void HydraTask_performEntryOperations()
protected int getEntryOperation(Long whichPrm)
protected void performEntryOperations()
protected static void releaseConnections()
protected void performEntryOperations(String regionName)
protected void putObject(String regionName)
protected void putAllObjects(String regionName)
protected void removeObject(String regionName)
protected void invalidateObject(String regionName)
public static void feedData()
protected void loadData()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.