public class ResumableKnownKeysTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected KeyIntervals |
keyIntervals |
protected int |
numNewKeys |
protected static String |
txListKey |
| Constructor and Description |
|---|
ResumableKnownKeysTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkContainsKey(com.gemstone.gemfire.cache.Region aRegion,
Object key,
boolean expected,
String logStr)
Check that containsKey() called on the given region has the expected result.
|
protected void |
checkContainsValueForKey(com.gemstone.gemfire.cache.Region aRegion,
Object key,
boolean expected,
String logStr)
Check that containsValueForKey() called on the given region has the expected result.
|
protected void |
checkUpdatedValue(com.gemstone.gemfire.cache.Region aRegion,
Object key,
Object value)
Check that the value of the given key is expected as an updated value.
|
protected void |
checkValue(com.gemstone.gemfire.cache.Region aRegion,
Object key,
Object value)
Check that the value of the given key is expected for this test.
|
static void |
HydraTask_initFunction()
This task to be run from an edge client.
|
static void |
HydraTask_initialize()
Creates and initializes a server or peer.
|
static void |
HydraTask_initializeClient()
Creates and initializes an edge client.
|
static void |
HydraTask_loadRegions()
Load all root regions with identical data
|
static void |
HydraTask_logRegionSizes()
Task to log all root region sizes
|
static void |
HydraTask_verifyLoad()
Verify that each region has the correct keys.
|
static void |
HydraTask_verifyRegions()
Verifies the contents of all root regions after doing ops.
|
static void |
HydraTask_waitForSilence()
Wait for silence for server queues to drain
|
void |
loadRegionsWithPut()
Workload based method to load all root regions with identical data.
|
void |
loadRegionsWithPutAll()
Workload based method to load all root regions with identical data.
|
protected KeyIntervals keyIntervals
protected int numNewKeys
protected static final String txListKey
public static void HydraTask_initializeClient()
public static void HydraTask_initialize()
public static void HydraTask_loadRegions()
public static void HydraTask_logRegionSizes()
public static void HydraTask_verifyLoad()
public static void HydraTask_waitForSilence()
public static void HydraTask_initFunction()
public static void HydraTask_verifyRegions()
public void loadRegionsWithPutAll()
public void loadRegionsWithPut()
protected void checkContainsKey(com.gemstone.gemfire.cache.Region aRegion,
Object key,
boolean expected,
String logStr)
aRegion - The region to check.key - The key to check.expected - The expected result of containsKeylogStr - Used if throwing an error due to an unexpected value.protected void checkContainsValueForKey(com.gemstone.gemfire.cache.Region aRegion,
Object key,
boolean expected,
String logStr)
aRegion - The region to check.key - The key to check.expected - The expected result of containsValueForKeylogStr - Used if throwing an error due to an unexpected value.protected void checkValue(com.gemstone.gemfire.cache.Region aRegion,
Object key,
Object value)
aRegion - The region to check.key - The key to check.value - The value for the key.protected void checkUpdatedValue(com.gemstone.gemfire.cache.Region aRegion,
Object key,
Object value)
aRegion - The region to check.key - The key to check.value - The value for the key.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.