Package org.infinispan.hotrod.impl.cache
Class ServerStatisticsImpl
- java.lang.Object
-
- org.infinispan.hotrod.impl.cache.ServerStatisticsImpl
-
- All Implemented Interfaces:
ServerStatistics
public class ServerStatisticsImpl extends Object implements ServerStatistics
- Since:
- 14.0
-
-
Field Summary
-
Fields inherited from interface org.infinispan.hotrod.impl.cache.ServerStatistics
APPROXIMATE_ENTRIES, APPROXIMATE_ENTRIES_UNIQUE, CLUSTER_APPROXIMATE_ENTRIES, CLUSTER_APPROXIMATE_ENTRIES_UNIQUE, HITS, MISSES, REMOVE_HITS, REMOVE_MISSES, RETRIEVALS, STORES, TIME_SINCE_START
-
-
Constructor Summary
Constructors Constructor Description ServerStatisticsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStats(String name, String value)IntegergetIntStatistic(String statsName)StringgetStatistic(String statsName)Map<String,String>getStatsMap()intsize()
-
-
-
Method Detail
-
getStatsMap
public Map<String,String> getStatsMap()
- Specified by:
getStatsMapin interfaceServerStatistics
-
getStatistic
public String getStatistic(String statsName)
- Specified by:
getStatisticin interfaceServerStatistics
-
size
public int size()
-
getIntStatistic
public Integer getIntStatistic(String statsName)
- Specified by:
getIntStatisticin interfaceServerStatistics
-
-