public class LRUTest extends CapConTest
| Modifier and Type | Field and Description |
|---|---|
protected int |
highestAllowableEntries |
protected int |
lowestAllowableEntries |
protected int |
maximumEntries |
LRUAllowance, nt, numThreads, numVMs, randomValues, REGION_NAME, testInstance, useTransactions| Constructor and Description |
|---|
LRUTest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static void |
HydraTask_addEntries() |
static void |
HydraTask_endTask() |
static void |
HydraTask_initialize() |
static void |
HydraTask_monitorCapacity() |
static void |
HydraTask_serialTest() |
protected void |
initFields() |
String |
toString() |
protected void |
verifyEviction(LRUListener listener,
com.gemstone.gemfire.cache.EntryEvent event)
This is called when eviction occurs, from a destroy event.
|
protected void |
verifyNumKeys() |
addEntries, addEntry, checkForEventError, getWorkRegion, initialize, randomGet, useCacheLoaderprotected int maximumEntries
protected int lowestAllowableEntries
protected int highestAllowableEntries
public static void HydraTask_initialize()
protected void initFields()
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 static void HydraTask_serialTest()
public static void HydraTask_monitorCapacity()
public static void HydraTask_endTask()
protected void verifyNumKeys()
protected void verifyEviction(LRUListener listener, com.gemstone.gemfire.cache.EntryEvent event)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.