public class MBeanStats extends GenericStats implements ICustomDecoratorStats
MB| Constructor and Description |
|---|
MBeanStats(java.lang.String statsName,
java.util.Map<javax.management.MBeanAttributeInfo,TypeAwareStatValue> values)
Constructor that applies name of stats
and map with mbean attribute infos as keys
with it associated values holders as values.
|
| Modifier and Type | Method and Description |
|---|---|
IDecoratorFactory |
getDecoratorFactory()
Returns decorator factory to build new
decorator if it not present in registry yet.
|
java.lang.String |
getDecoratorId()
Returns id of decorator that can be used with
this stats object
|
java.lang.String |
getValueDescriptionByName(java.lang.String valueName)
Returns description, that been obtained from
mbean, of stats value by it name
|
getAllValues, getAvailableValueNames, getValueByName, getValueByNameAsString, hasValues, putValue, toStatsStringaddStatValues, createCallExecution, destroy, getName, isEmpty, toStatsString, toStatsString, toStatsString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateCallExecution, destroy, getAvailableValueNames, getName, getValueByNameAsString, isEmpty, toStatsString, toStatsString, toStatsString, toStatsStringpublic MBeanStats(java.lang.String statsName,
java.util.Map<javax.management.MBeanAttributeInfo,TypeAwareStatValue> values)
statsName - name of new statsvalues - new stats valuespublic java.lang.String getValueDescriptionByName(java.lang.String valueName)
valueName - name of a value to get descriptionpublic java.lang.String getDecoratorId()
ICustomDecoratorStatsgetDecoratorId in interface ICustomDecoratorStatspublic IDecoratorFactory getDecoratorFactory()
ICustomDecoratorStatsgetDecoratorFactory in interface ICustomDecoratorStatsCopyright © 2010-2020 anotheria.net. All Rights Reserved.