public class SimpleStatsProducer<S extends IStats> extends Object implements IStatsProducer<S>, Inspectable
IStatsProducer and is an Inspectable.| Constructor and Description |
|---|
SimpleStatsProducer(String aProducerId,
String aCategory,
String aSubsystem,
List<S> theStatsList)
Constructs an instance of GenericMBeanProducer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Returns the category of this producer.
|
CreationInfo |
getCreationInfo()
Returns the creation info of this object.
|
String |
getProducerId()
Returns the meaningful id of this producer.
|
List<S> |
getStats()
Returns the list of all stats.
|
String |
getSubsystem()
Returns the subsystem the current producer is located in.
|
public String getCategory()
getCategory in interface IStatsProducer<S extends IStats>public CreationInfo getCreationInfo()
getCreationInfo in interface Inspectablepublic String getProducerId()
getProducerId in interface IStatsProducer<S extends IStats>public List<S> getStats()
getStats in interface IStatsProducer<S extends IStats>public String getSubsystem()
getSubsystem in interface IStatsProducer<S extends IStats>Copyright © 2010-2017 anotheria.net. All Rights Reserved.