public class EvictionThresholdListener
extends java.lang.Object
implements com.gemstone.gemfire.internal.cache.control.ResourceListener<com.gemstone.gemfire.internal.cache.control.MemoryEvent>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CRITICAL_HEAP_PERCENTAGE |
static java.lang.String |
CRITICAL_OFF_HEAP_PERCENTAGE |
static java.lang.String |
EVICTION_EVENT |
static java.lang.String |
EVICTION_HEAP_PERCENTAGE |
static java.lang.String |
EVICTION_OFF_HEAP_PERCENTAGE |
static float |
LOWER_LIMIT_EVICTION_TOLERANCE |
static java.lang.String |
NO_EVENT_RECEIVED |
static java.lang.String |
NORMAL_EVENT |
static float |
UPPER_LIMIT_EVICTION_TOLERANCE |
| Constructor and Description |
|---|
EvictionThresholdListener() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.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(java.lang.String reason) |
public static final float UPPER_LIMIT_EVICTION_TOLERANCE
public static final float LOWER_LIMIT_EVICTION_TOLERANCE
public static final java.lang.String CRITICAL_HEAP_PERCENTAGE
public static final java.lang.String EVICTION_HEAP_PERCENTAGE
public static final java.lang.String CRITICAL_OFF_HEAP_PERCENTAGE
public static final java.lang.String EVICTION_OFF_HEAP_PERCENTAGE
public static final java.lang.String EVICTION_EVENT
public static final java.lang.String NORMAL_EVENT
public static final java.lang.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 java.lang.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(java.lang.String reason)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.