Package tigase.push.repositories
Class AbstractPushRepository.StatisticsImpl
- java.lang.Object
-
- tigase.push.repositories.AbstractPushRepository.StatisticsImpl
-
- All Implemented Interfaces:
IPushRepository.Statistics
- Enclosing class:
- AbstractPushRepository<DS extends tigase.db.DataSource>
protected static class AbstractPushRepository.StatisticsImpl extends java.lang.Object implements IPushRepository.Statistics
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StatisticsImpl(java.lang.String provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getCounterNames()
java.util.Map<java.lang.String,java.lang.Integer>
getCounters()
int
getCounterValue(java.lang.String name)
protected void
setCounterValue(java.lang.String name, int value)
-
-
-
Method Detail
-
getCounters
public java.util.Map<java.lang.String,java.lang.Integer> getCounters()
- Specified by:
getCounters
in interfaceIPushRepository.Statistics
-
getCounterNames
public java.util.Collection<java.lang.String> getCounterNames()
- Specified by:
getCounterNames
in interfaceIPushRepository.Statistics
-
getCounterValue
public int getCounterValue(java.lang.String name)
- Specified by:
getCounterValue
in interfaceIPushRepository.Statistics
-
setCounterValue
protected void setCounterValue(java.lang.String name, int value)
-
-