public class GarbageCollectionAlert extends AbstractAlert
These thresholds can be configured by using the GarbageCollectionAlertConfigurer
.
This alert will be received on the call to AlertTriggeredEventListener.alertTriggered(Alert)
for
registered listeners.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_NAME |
static String |
CPU_UTILIZATION |
static String |
GC_DURATION_MILLISECONDS |
static String |
HEAP_UTILIZATION |
static String |
HOST_ADDRESS |
static String |
HOST_NAME |
static String |
NON_HEAP_UTILIZATION |
static String |
PROCESS_ID |
Constructor and Description |
---|
GarbageCollectionAlert()
required by java.io.Externalizable
|
GarbageCollectionAlert(Alert alert) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentName()
The name of the component for which the alert was fired (e.g.
|
String |
getComponentUid()
The component UID is equivalent to
VirtualMachine.getUid() |
Double |
getCpuUtilization()
The CPU utilization reading when this alert was fired.
|
Long |
getGcDuration()
The period of time the JVM has spent on GC which triggered the alert.
|
Double |
getHeapUtilization()
The Heap utilization reading when this alert was fired.
|
String |
getHostAddress()
The host address of the machine that this alert corresponds to.
|
String |
getHostName()
The host name of the machine that this alert corresponds to.
|
Double |
getNonHeapUtilization()
The non-Heap utilization reading when this alert was fired.
|
String |
getProcessId()
The process id of the component for which the alert was fired.
|
getAlert, getAlertUid, getComponentDescription, getConfig, getDescription, getGroupUid, getName, getProperties, getSeverity, getStatus, getTimestamp, readExternal, toString, writeExternal
public static final String HOST_ADDRESS
public static final String HOST_NAME
public static final String CPU_UTILIZATION
public static final String PROCESS_ID
public static final String COMPONENT_NAME
public static final String GC_DURATION_MILLISECONDS
public static final String HEAP_UTILIZATION
public static final String NON_HEAP_UTILIZATION
public GarbageCollectionAlert()
public GarbageCollectionAlert(Alert alert)
public String getComponentUid()
VirtualMachine.getUid()
getComponentUid
in interface Alert
getComponentUid
in class AbstractAlert
public String getHostAddress()
null
.public String getHostName()
null
.public Double getCpuUtilization()
null
.public String getProcessId()
null
.public String getComponentName()
public Double getHeapUtilization()
null
.public Double getNonHeapUtilization()
null
.public Long getGcDuration()
Copyright © GigaSpaces.