public class EvictionThresholdListener extends Object implements com.gemstone.gemfire.internal.cache.control.ResourceListener<com.gemstone.gemfire.internal.cache.control.MemoryEvent>
| Modifier and Type | Field and Description |
|---|---|
static String |
CRITICAL_HEAP_PERCENTAGE |
static String |
CRITICAL_OFF_HEAP_PERCENTAGE |
static String |
EVICTION_EVENT |
static String |
EVICTION_HEAP_PERCENTAGE |
static String |
EVICTION_OFF_HEAP_PERCENTAGE |
static float |
LOWER_LIMIT_EVICTION_TOLERANCE |
static String |
NO_EVENT_RECEIVED |
static String |
NORMAL_EVENT |
static float |
UPPER_LIMIT_EVICTION_TOLERANCE |
| Constructor and Description |
|---|
EvictionThresholdListener() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asString() |
static int |
getAllCalls() |
static long |
getBytesFromThreshold() |
static int |
getCriticalThresholdCalls() |
static float |
getCurrentPercentage() |
static int |
getDisabledCalls() |
static int |
getEvictionThresholdCalls() |
static int |
getNormalCalls() |
void |
onEvent(com.gemstone.gemfire.internal.cache.control.MemoryEvent event) |
static void |
resetThresholdCalls() |
void |
throwException(String reason) |
public static final float UPPER_LIMIT_EVICTION_TOLERANCE
public static final float LOWER_LIMIT_EVICTION_TOLERANCE
public static final String CRITICAL_HEAP_PERCENTAGE
public static final String EVICTION_HEAP_PERCENTAGE
public static final String CRITICAL_OFF_HEAP_PERCENTAGE
public static final String EVICTION_OFF_HEAP_PERCENTAGE
public static final String EVICTION_EVENT
public static final String NORMAL_EVENT
public static final String NO_EVENT_RECEIVED
public static long getBytesFromThreshold()
public static float getCurrentPercentage()
public static int getAllCalls()
public static int getNormalCalls()
public static int getCriticalThresholdCalls()
public static int getEvictionThresholdCalls()
public static int getDisabledCalls()
public static void resetThresholdCalls()
public static String asString()
public void onEvent(com.gemstone.gemfire.internal.cache.control.MemoryEvent event)
onEvent in interface com.gemstone.gemfire.internal.cache.control.ResourceListener<com.gemstone.gemfire.internal.cache.control.MemoryEvent>public void throwException(String reason)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.