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 protectedStatisticsImpl(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()intgetCounterValue(java.lang.String name)protected voidsetCounterValue(java.lang.String name, int value)
-
-
-
Method Detail
-
getCounters
public java.util.Map<java.lang.String,java.lang.Integer> getCounters()
- Specified by:
getCountersin interfaceIPushRepository.Statistics
-
getCounterNames
public java.util.Collection<java.lang.String> getCounterNames()
- Specified by:
getCounterNamesin interfaceIPushRepository.Statistics
-
getCounterValue
public int getCounterValue(java.lang.String name)
- Specified by:
getCounterValuein interfaceIPushRepository.Statistics
-
setCounterValue
protected void setCounterValue(java.lang.String name, int value)
-
-