public class JetmPerformance extends Object implements JetmPerformanceMBean
| Modifier and Type | Class and Description |
|---|---|
class |
JetmPerformance.WrappedInteger |
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
itemDescriptions |
protected String[] |
itemNames |
protected OpenType[] |
itemTypes |
DEFAULT_BEAN_NAME| Constructor and Description |
|---|
JetmPerformance() |
JetmPerformance(etm.core.monitor.EtmMonitor aEtmMonitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCollecting()
Return true if the monitor is currently collecting, or else false.
|
Date |
getLastResetDate()
Date of the last rest of the monitor, or null if no reset has occured.
|
Date |
getStartDate()
The date the monitor was started or null if the monitor hasn't been started.
|
boolean |
getStarted()
True if the monitor has been started, false if it has not.
|
TabularData |
metrics(boolean reset)
Return the current JETM performance metrics.
|
static void |
registerJetm()
Registers JETM with the MBeanServer in the JVM.
|
void |
resetMetrics()
Resets JETM metrics immediately.
|
protected String[] itemNames
protected String[] itemDescriptions
protected OpenType[] itemTypes
public JetmPerformance()
throws OpenDataException
OpenDataExceptionpublic JetmPerformance(etm.core.monitor.EtmMonitor aEtmMonitor)
throws OpenDataException
OpenDataExceptionpublic boolean getCollecting()
JetmPerformanceMBeangetCollecting in interface JetmPerformanceMBeanpublic boolean getStarted()
JetmPerformanceMBeangetStarted in interface JetmPerformanceMBeanpublic Date getStartDate()
JetmPerformanceMBeangetStartDate in interface JetmPerformanceMBeanpublic Date getLastResetDate()
JetmPerformanceMBeangetLastResetDate in interface JetmPerformanceMBeanpublic TabularData metrics(boolean reset) throws OpenDataException
metrics in interface JetmPerformanceMBeanreset - If true, JETM metrics are reset after the gather. If false, they are not reset and the next
call will be cumulative metrics.OpenDataExceptionpublic void resetMetrics()
resetMetrics in interface JetmPerformanceMBeanpublic static void registerJetm()
throws MalformedObjectNameException,
OpenDataException,
NotCompliantMBeanException,
InstanceAlreadyExistsException,
MBeanRegistrationException
Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.