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