public class MemLRUTest extends CapConTest
| Modifier and Type | Field and Description |
|---|---|
protected static int |
KEY_LENGTH |
protected static int |
maximumMegabytes |
MemLRUParameters |
memLRUParams |
LRUAllowance, nt, numThreads, numVMs, randomValues, REGION_NAME, testInstance, useTransactions| Constructor and Description |
|---|
MemLRUTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
addEntry() |
protected void |
doSerialTest() |
com.gemstone.gemfire.cache.CacheListener |
getEventListener()
Return the object attributes to be used when putting an object in a region.
|
Object |
getNewKey()
Return a new key object to put into the region.
|
Object |
getNewValue()
Return a new value object to put into the region.
|
Object |
getPreviousKey()
Return a key previously used in this test.
|
protected long |
getRegionSizeInBytes()
Get the current number of bytes in the region.
|
static void |
HydraTask_addEntries() |
static void |
HydraTask_endTask() |
static void |
HydraTask_initialize() |
static void |
HydraTask_monitorCapacity() |
static void |
HydraTask_serialTest() |
void |
sync() |
String |
toString() |
protected void |
verifyEviction()
This is called when eviction occurs, from a destroy event.
|
void |
verifyMemCapacity(long byteLimit)
Verify the number of bytes used for this region.
|
addEntries, checkForEventError, getWorkRegion, initialize, randomGet, useCacheLoaderprotected static final int KEY_LENGTH
protected static int maximumMegabytes
public MemLRUParameters memLRUParams
public static void HydraTask_initialize()
public Object getNewKey()
CapConTestgetNewKey in class CapConTestpublic Object getNewValue()
CapConTestgetNewValue in class CapConTestpublic com.gemstone.gemfire.cache.CacheListener getEventListener()
CapConTestgetEventListener in class CapConTestpublic Object getPreviousKey()
CapConTestgetPreviousKey in class CapConTestpublic static void HydraTask_addEntries()
public void sync()
public static void HydraTask_monitorCapacity()
public static void HydraTask_serialTest()
protected Object[] addEntry()
addEntry in class CapConTestprotected void doSerialTest()
public static void HydraTask_endTask()
protected long getRegionSizeInBytes()
public void verifyMemCapacity(long byteLimit)
protected void verifyEviction()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.