public class UseCase1Client
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static com.gemstone.gemfire.cache.Region[] |
_regions |
static int |
MAX_DATA_ALLOWED
UseCase1's feeder task
|
static java.util.Random |
rand |
static java.lang.String |
REGION_NAME |
static java.lang.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 java.lang.String REGION_NAME
public static int MAX_DATA_ALLOWED
public static final java.lang.String[] REGION_NAMES
public static com.gemstone.gemfire.cache.Region[] _regions
public static java.util.Random rand
public static void initServerCache()
protected static void displayRegions()
public static void initEdgeCache()
throws java.lang.Exception
java.lang.Exceptionpublic static void initFeederCache()
throws java.lang.Exception
java.lang.Exceptionpublic static void stopServers()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static void invoke()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void fetch(int randomKey)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void runFeeder()
throws java.lang.Exception
java.lang.Exceptionpublic static int randomSize(int average,
int rangePercent)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.