org.jdiameter.common.impl.statistic
Class StatisticManagerImpl
java.lang.Object
org.jdiameter.common.impl.statistic.StatisticManagerImpl
- All Implemented Interfaces:
- IStatisticManager
public class StatisticManagerImpl
- extends java.lang.Object
- implements IStatisticManager
- Author:
- Alexandre Mendonca , Bartosz Baranowski
|
Method Summary |
long |
getDelay()
|
java.util.Set<java.lang.String> |
getEnabled()
|
long |
getPause()
|
java.util.List<IStatisticRecord> |
getPSStatisticRecord()
|
java.util.List<IStatistic> |
getStatistic()
|
boolean |
isOn()
|
IStatisticRecord |
newCounterRecord(IStatisticRecord.Counters recordDescription)
|
IStatisticRecord |
newCounterRecord(IStatisticRecord.Counters recordDescription,
IStatisticRecord.ValueHolder counters)
|
IStatisticRecord |
newCounterRecord(IStatisticRecord.Counters recordDescription,
IStatisticRecord.ValueHolder counter,
IStatisticRecord... rec)
|
IStatisticRecord |
newCounterRecord(java.lang.String name,
java.lang.String description)
|
IStatisticRecord |
newCounterRecord(java.lang.String name,
java.lang.String description,
IStatisticRecord.ValueHolder counters)
|
IStatisticRecord |
newPerSecondCounterRecord(java.lang.String name,
IStatisticRecord.Counters recordDescription,
IStatisticRecord child)
|
IStatistic |
newStatistic(java.lang.String name,
IStatistic.Groups group,
IStatisticRecord... rec)
|
void |
removePerSecondCounterRecord(IStatisticRecord rec)
|
void |
removeStatistic(IStatistic stat)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticManagerImpl
public StatisticManagerImpl(Configuration config)
newCounterRecord
public IStatisticRecord newCounterRecord(IStatisticRecord.Counters recordDescription)
- Specified by:
newCounterRecord in interface IStatisticManager
newCounterRecord
public IStatisticRecord newCounterRecord(IStatisticRecord.Counters recordDescription,
IStatisticRecord.ValueHolder counters)
- Specified by:
newCounterRecord in interface IStatisticManager
newCounterRecord
public IStatisticRecord newCounterRecord(IStatisticRecord.Counters recordDescription,
IStatisticRecord.ValueHolder counter,
IStatisticRecord... rec)
- Specified by:
newCounterRecord in interface IStatisticManager
newCounterRecord
public IStatisticRecord newCounterRecord(java.lang.String name,
java.lang.String description)
- Specified by:
newCounterRecord in interface IStatisticManager
newCounterRecord
public IStatisticRecord newCounterRecord(java.lang.String name,
java.lang.String description,
IStatisticRecord.ValueHolder counters)
- Specified by:
newCounterRecord in interface IStatisticManager
newPerSecondCounterRecord
public IStatisticRecord newPerSecondCounterRecord(java.lang.String name,
IStatisticRecord.Counters recordDescription,
IStatisticRecord child)
- Specified by:
newPerSecondCounterRecord in interface IStatisticManager
newStatistic
public IStatistic newStatistic(java.lang.String name,
IStatistic.Groups group,
IStatisticRecord... rec)
- Specified by:
newStatistic in interface IStatisticManager
removePerSecondCounterRecord
public void removePerSecondCounterRecord(IStatisticRecord rec)
- Specified by:
removePerSecondCounterRecord in interface IStatisticManager
removeStatistic
public void removeStatistic(IStatistic stat)
- Specified by:
removeStatistic in interface IStatisticManager
isOn
public boolean isOn()
- Specified by:
isOn in interface IStatisticManager
getPause
public long getPause()
- Specified by:
getPause in interface IStatisticManager
getDelay
public long getDelay()
- Specified by:
getDelay in interface IStatisticManager
getEnabled
public java.util.Set<java.lang.String> getEnabled()
- Specified by:
getEnabled in interface IStatisticManager
getPSStatisticRecord
public java.util.List<IStatisticRecord> getPSStatisticRecord()
- Specified by:
getPSStatisticRecord in interface IStatisticManager
getStatistic
public java.util.List<IStatistic> getStatistic()
- Specified by:
getStatistic in interface IStatisticManager
Copyright © 2014. All Rights Reserved.