wt.jmx.core.mbeans
Interface MemoryMonitorMBean

All Superinterfaces:
SelfEmailingMBean

public interface MemoryMonitorMBean
extends SelfEmailingMBean

Provides percentage-based monitoring of important memory usage statistics whereas built in Java 5 MBeans operate solely in terms of fixed byte thresholds, which does not translate well from site to site or during the lifespan of a single process when self-tuning heap features are used.

Supported API: true

Extendable: true


Field Summary
static String HEAP_PERC_USAGE_TE_INITIAL_NOTIF_TYPE
          Type of notification produced when HeapPercentUsageThreshold is initially exceeded

Supported API: true
static String HEAP_PERC_USAGE_TE_NO_LONGER_NOTIF_TYPE
          Type of notification produced when HeapPercentUsageThreshold is no longer exceeded

Supported API: true
static String HEAP_PERC_USAGE_TE_STILL_NOTIF_TYPE
          Type of notification produced when HeapPercentUsageThreshold is still exceeded

Supported API: true
static String MEMORY_POOL_COLL_USAGE_TE_NOTIF_TYPE
          Type of notification produced when a PercentCollUsageThreshold is exceeded

Supported API: true
static String MEMORY_POOL_USAGE_TE_NOTIF_TYPE
          Type of notification produced when a PercentUsageThreshold is exceeded

Supported API: true
 
Method Summary
 int getCheckIntervalSeconds()
          Interval (in seconds) at which overall heap threshold is checked and other thresholds are adjusted

Supported API: true
 double getHeapPercentUsage()
          Current overall heap percent usage

Supported API: true
 double getHeapPercentUsageThreshold()
          Percent overall heap usage threshold

Supported API: true
 double getOldGenPercentCollUsage()
          Current old generation pool percent collection usage

Supported API: true
 double getOldGenPercentCollUsageThreshold()
          Percent collection usage threshold for old generation memory pool

Supported API: true
 double getOldGenPercentUsage()
          Current old generation pool percent usage

Supported API: true
 double getOldGenPercentUsagePeak()
          Peak old generation pool percent usage

Supported API: true
 double getOldGenPercentUsageThreshold()
          Percent usage threshold for old generation memory pool

Supported API: true
 double getPermGenPercentCollUsage()
          Current permanent generation pool percent collection usage

Supported API: true
 double getPermGenPercentCollUsageThreshold()
          Percent collection usage threshold for permanent generation memory pool

Supported API: true
 double getPermGenPercentUsage()
          Current permanent generation pool percent usage

Supported API: true
 double getPermGenPercentUsagePeak()
          Peak permanent generation pool percent usage

Supported API: true
 double getPermGenPercentUsageThreshold()
          Percent usage threshold for permanent generation memory pool

Supported API: true
 void setCheckIntervalSeconds(int checkIntervalSeconds)
          Interval (in seconds) at which overall heap threshold is checked and other thresholds are adjusted

Supported API: true
 void setHeapPercentUsageThreshold(double heapPercentUsageThreshold)
          Percent overall heap usage threshold

Supported API: true
 void setOldGenPercentCollUsageThreshold(double oldGenPercentCollUsageThreshold)
          Percent collection usage threshold for old generation memory pool

Supported API: true
 void setOldGenPercentUsageThreshold(double oldGenPercentUsageThreshold)
          Percent usage threshold for old generation memory pool

Supported API: true
 void setPermGenPercentCollUsageThreshold(double permGenPercentCollUsageThreshold)
          Percent collection usage threshold for permanent generation memory pool

Supported API: true
 void setPermGenPercentUsageThreshold(double permGenPercentUsageThreshold)
          Percent usage threshold for permanent generation memory pool

Supported API: true
 
Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
 

Field Detail

HEAP_PERC_USAGE_TE_INITIAL_NOTIF_TYPE

static final String HEAP_PERC_USAGE_TE_INITIAL_NOTIF_TYPE
Type of notification produced when HeapPercentUsageThreshold is initially exceeded

Supported API: true


HEAP_PERC_USAGE_TE_STILL_NOTIF_TYPE

static final String HEAP_PERC_USAGE_TE_STILL_NOTIF_TYPE
Type of notification produced when HeapPercentUsageThreshold is still exceeded

Supported API: true


HEAP_PERC_USAGE_TE_NO_LONGER_NOTIF_TYPE

static final String HEAP_PERC_USAGE_TE_NO_LONGER_NOTIF_TYPE
Type of notification produced when HeapPercentUsageThreshold is no longer exceeded

Supported API: true


MEMORY_POOL_USAGE_TE_NOTIF_TYPE

static final String MEMORY_POOL_USAGE_TE_NOTIF_TYPE
Type of notification produced when a PercentUsageThreshold is exceeded

Supported API: true

See Also:
Constant Field Values

MEMORY_POOL_COLL_USAGE_TE_NOTIF_TYPE

static final String MEMORY_POOL_COLL_USAGE_TE_NOTIF_TYPE
Type of notification produced when a PercentCollUsageThreshold is exceeded

Supported API: true

See Also:
Constant Field Values
Method Detail

getOldGenPercentUsageThreshold

double getOldGenPercentUsageThreshold()
Percent usage threshold for old generation memory pool

Supported API: true


setOldGenPercentUsageThreshold

void setOldGenPercentUsageThreshold(double oldGenPercentUsageThreshold)
Percent usage threshold for old generation memory pool

Supported API: true


getOldGenPercentUsage

double getOldGenPercentUsage()
Current old generation pool percent usage

Supported API: true


getOldGenPercentCollUsageThreshold

double getOldGenPercentCollUsageThreshold()
Percent collection usage threshold for old generation memory pool

Supported API: true


setOldGenPercentCollUsageThreshold

void setOldGenPercentCollUsageThreshold(double oldGenPercentCollUsageThreshold)
Percent collection usage threshold for old generation memory pool

Supported API: true


getOldGenPercentCollUsage

double getOldGenPercentCollUsage()
Current old generation pool percent collection usage

Supported API: true


getOldGenPercentUsagePeak

double getOldGenPercentUsagePeak()
Peak old generation pool percent usage

Supported API: true


getHeapPercentUsageThreshold

double getHeapPercentUsageThreshold()
Percent overall heap usage threshold

Supported API: true


setHeapPercentUsageThreshold

void setHeapPercentUsageThreshold(double heapPercentUsageThreshold)
Percent overall heap usage threshold

Supported API: true


getHeapPercentUsage

double getHeapPercentUsage()
Current overall heap percent usage

Supported API: true


getPermGenPercentUsageThreshold

double getPermGenPercentUsageThreshold()
Percent usage threshold for permanent generation memory pool

Supported API: true


setPermGenPercentUsageThreshold

void setPermGenPercentUsageThreshold(double permGenPercentUsageThreshold)
Percent usage threshold for permanent generation memory pool

Supported API: true


getPermGenPercentUsage

double getPermGenPercentUsage()
Current permanent generation pool percent usage

Supported API: true


getPermGenPercentCollUsageThreshold

double getPermGenPercentCollUsageThreshold()
Percent collection usage threshold for permanent generation memory pool

Supported API: true


setPermGenPercentCollUsageThreshold

void setPermGenPercentCollUsageThreshold(double permGenPercentCollUsageThreshold)
Percent collection usage threshold for permanent generation memory pool

Supported API: true


getPermGenPercentCollUsage

double getPermGenPercentCollUsage()
Current permanent generation pool percent collection usage

Supported API: true


getPermGenPercentUsagePeak

double getPermGenPercentUsagePeak()
Peak permanent generation pool percent usage

Supported API: true


getCheckIntervalSeconds

int getCheckIntervalSeconds()
Interval (in seconds) at which overall heap threshold is checked and other thresholds are adjusted

Supported API: true


setCheckIntervalSeconds

void setCheckIntervalSeconds(int checkIntervalSeconds)
Interval (in seconds) at which overall heap threshold is checked and other thresholds are adjusted

Supported API: true