public class Client extends Util
| Modifier and Type | Field and Description |
|---|---|
protected static HydraThreadLocal |
localClientInstance |
protected int |
threadNumTimedPuts |
protected int |
threadNumTimedReads |
protected int |
threadPutTime |
protected int |
threadReadTime |
protected int |
tid |
CACHED_REGION_NAME, DATA_NAME, MASTER_REGION_NAME, REGION_NAME| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCacheTask()
Shutdown the cache.
|
static void |
defineCacheRegions()
Create the cache and define regions and entries,
including setting the cache loader for CachedData.
|
protected com.gemstone.gemfire.cache.Region |
getRootRegion()
|
static void |
initClientTask()
Initialize Client
|
static void |
initializeDataTask()
Store inital value of MasterData in the cache and preLoad CachedData.
|
static void |
readTask()
Read value of CachedData.
|
static void |
summarizeClientTask()
Summarize results for Client
|
protected static Client |
thisClient() |
static void |
updateTask()
Update value of MasterData, then invalidate CachedData
to force execution of CacheLoader.
|
static void |
verifyFinalResultsTask()
Verify final results, after all regular task VMs have terminated.
|
static void |
verifyResultsTask()
Verify results from within a VM active during main task phase.
|
protected static HydraThreadLocal localClientInstance
protected int tid
protected int threadReadTime
protected int threadNumTimedReads
protected int threadPutTime
protected int threadNumTimedPuts
public static void initClientTask()
public static void defineCacheRegions()
public static void closeCacheTask()
public static void initializeDataTask()
public static void readTask()
public static void updateTask()
public static void summarizeClientTask()
public static void verifyResultsTask()
public static void verifyFinalResultsTask()
protected static Client thisClient()
protected com.gemstone.gemfire.cache.Region getRootRegion()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.