public class GCStats extends AbstractStats
MB| Constructor and Description |
|---|
GCStats(String aName) |
GCStats(String aName,
Interval[] selectedIntervals) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableValueNames()
Returns the names of all contained stats.
|
long |
getCurrentCollectionCount(String intervalName) |
long |
getCurrentCollectionTime(String intervalName) |
long |
getTotalCollectionCount(String intervalName) |
long |
getTotalCollectionTime(String intervalName) |
String |
getValueByNameAsString(String valueName,
String intervalName,
TimeUnit timeUnit) |
String |
toStatsString(String intervalName,
TimeUnit unit)
This method creates a human-readable textual representation of all statistical
values in the given interval.
|
void |
update(long aCollectionCount,
long aCollectionTime) |
addStatValues, createCallExecution, destroy, getName, isEmpty, toStatsString, toStatsString, toStatsString, toStringpublic GCStats(String aName)
public String toStatsString(String intervalName, TimeUnit unit)
IStatsintervalName - the name of the interval or null for all intervalspublic String getValueByNameAsString(String valueName, String intervalName, TimeUnit timeUnit)
getValueByNameAsString in interface IStatsgetValueByNameAsString in class AbstractStatspublic List<String> getAvailableValueNames()
IStatsgetAvailableValueNames in interface IStatsgetAvailableValueNames in interface StatsMXBeangetAvailableValueNames in class AbstractStatspublic void update(long aCollectionCount,
long aCollectionTime)
public long getCurrentCollectionCount(String intervalName)
public long getTotalCollectionCount(String intervalName)
public long getCurrentCollectionTime(String intervalName)
public long getTotalCollectionTime(String intervalName)
Copyright © 2010-2017 anotheria.net. All Rights Reserved.