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
OpenDataException
public JetmPerformance(etm.core.monitor.EtmMonitor aEtmMonitor) throws OpenDataException
OpenDataException
public boolean getCollecting()
JetmPerformanceMBean
getCollecting
in interface JetmPerformanceMBean
public boolean getStarted()
JetmPerformanceMBean
getStarted
in interface JetmPerformanceMBean
public Date getStartDate()
JetmPerformanceMBean
getStartDate
in interface JetmPerformanceMBean
public Date getLastResetDate()
JetmPerformanceMBean
getLastResetDate
in interface JetmPerformanceMBean
public TabularData metrics(boolean reset) throws OpenDataException
metrics
in interface JetmPerformanceMBean
reset
- If true, JETM metrics are reset after the gather. If false, they are not reset and the next
call will be cumulative metrics.OpenDataException
public void resetMetrics()
resetMetrics
in interface JetmPerformanceMBean
public static void registerJetm() throws MalformedObjectNameException, OpenDataException, NotCompliantMBeanException, InstanceAlreadyExistsException, MBeanRegistrationException
Copyright © 2018 Department of Veterans Affairs. All Rights Reserved.