public class MemManTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AtomicInteger |
gcController |
protected AtomicLong |
lowMemCounter |
protected List<com.gemstone.gemfire.cache.Region> |
regionList |
protected int |
regionNameIndex |
static MemManTest |
testInstance |
| Constructor and Description |
|---|
MemManTest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doOpsWithHeavyCreates(long millisToRun,
boolean allowCritical)
Do random operations that heavly lean toward new entry creation.
|
protected boolean |
doQueryAndIndexOps(long millisToRun,
boolean allowCritical) |
static void |
HydraTask_doGC()
Do a gc once in this VM
|
static void |
HydraTask_doOpsBeyondCritical()
Do random ops that are heavy towards creates until the system becomes
critical, then run beyond that.
|
static void |
HydraTask_doOpsNotCritical()
Do random ops without expecting system to go critical.
|
static void |
HydraTask_doOpsUntilCritical()
Do random ops that are heavy towards creates until the system becomes
critical.
|
static void |
HydraTask_doQueryAndIndexOps()
Do query ops that will take the system to critical.
|
static void |
HydraTask_initAccessor()
Creates and initializes the singleton instance of MemManTest
in this VM.
|
static void |
HydraTask_initDataStore()
Creates and initializes the singleton instance of MemManTest in this VM.
|
static void |
HydraTask_initDistributedRegion()
Creates and initializes the singleton instance of MemManTest in this VM.
|
static void |
HydraTask_rebalance()
Run a rebalance.
|
static void |
HydraTask_rebalanceOnce()
Run a rebalance one time for all threads in all vms.
|
static void |
HydraTask_verifyBucketCopies()
Verify data in the PRs.
|
static void |
HydraTask_verifyPrimaries()
Verify primaries on all PRs.
|
static void |
HydraTask_verifyPRMetaData()
Verify PR metadata on all PRs.
|
void |
initializeInstance()
Initialize this test instance
|
com.gemstone.gemfire.cache.Region |
initializeRegion(String regDescriptName,
int localMaxMemory)
Create a region with the given region description name.
|
public static MemManTest testInstance
protected List<com.gemstone.gemfire.cache.Region> regionList
protected int regionNameIndex
protected AtomicLong lowMemCounter
protected AtomicInteger gcController
public static void HydraTask_initAccessor()
public static void HydraTask_initDataStore()
public static void HydraTask_initDistributedRegion()
public static void HydraTask_rebalance()
public static void HydraTask_rebalanceOnce()
public static void HydraTask_verifyPRMetaData()
public static void HydraTask_verifyPrimaries()
public static void HydraTask_verifyBucketCopies()
public com.gemstone.gemfire.cache.Region initializeRegion(String regDescriptName, int localMaxMemory)
regDescriptName - The name of a region description.localMaxMemory - The localMaxMemory to use for this region.public void initializeInstance()
public static void HydraTask_doOpsBeyondCritical()
public static void HydraTask_doQueryAndIndexOps()
public static void HydraTask_doOpsUntilCritical()
public static void HydraTask_doOpsNotCritical()
throws com.gemstone.gemfire.cache.LowMemoryException
com.gemstone.gemfire.cache.LowMemoryExceptionpublic static void HydraTask_doGC()
protected boolean doOpsWithHeavyCreates(long millisToRun,
boolean allowCritical)
throws com.gemstone.gemfire.cache.LowMemoryException
millisToRun - The number of milliseconds to run the ops.allowCritical - If true, then allow LowMemoryExceptions.com.gemstone.gemfire.cache.LowMemoryExceptionprotected boolean doQueryAndIndexOps(long millisToRun,
boolean allowCritical)
throws com.gemstone.gemfire.cache.LowMemoryException
com.gemstone.gemfire.cache.LowMemoryExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.