public class UseCase1Client extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.gemstone.gemfire.cache.Region[] |
_regions |
static int |
MAX_DATA_ALLOWED
UseCase1's feeder task
|
static Random |
rand |
static String |
REGION_NAME |
static String[] |
REGION_NAMES |
| Constructor and Description |
|---|
UseCase1Client() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
displayRegions()
display regions w/attributes
|
static void |
fetch(int randomKey) |
static void |
initEdgeCache()
A Hydra INIT task that initialize the test region in an edge
client according to the "edge" params of useCase1Client.xml
|
static void |
initFeederCache()
A Hydra INIT task that initialize the test region in the feeder VM
client according to the definition in useCase1Feeder.xml
|
static void |
initServerCache()
Initializes the test region in the cache server VM according to
the "server" params in useCase1Server.xml.
|
static void |
invoke() |
static int |
randomSize(int average,
int rangePercent) |
static void |
runFeeder() |
static void |
stopServers() |
public static final String REGION_NAME
public static int MAX_DATA_ALLOWED
public static final String[] REGION_NAMES
public static com.gemstone.gemfire.cache.Region[] _regions
public static Random rand
public static void initServerCache()
protected static void displayRegions()
public static void initEdgeCache()
throws Exception
Exceptionpublic static void initFeederCache()
throws Exception
Exceptionpublic static void stopServers()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static void invoke()
throws RemoteException
RemoteExceptionpublic static void fetch(int randomKey)
throws RemoteException
RemoteExceptionpublic static int randomSize(int average,
int rangePercent)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.