org.infinispan.client.hotrod.impl
Class ServerStatisticsImpl

java.lang.Object
  extended by org.infinispan.client.hotrod.impl.ServerStatisticsImpl
All Implemented Interfaces:
ServerStatistics

public class ServerStatisticsImpl
extends Object
implements ServerStatistics

Since:
4.1
Author:
Mircea.Markus@jboss.com

Field Summary
 
Fields inherited from interface org.infinispan.client.hotrod.ServerStatistics
CURRENT_NR_OF_ENTRIES, HITS, MISSES, REMOVE_HITS, REMOVE_MISSES, RETRIEVALS, STORES, TIME_SINCE_START, TOTAL_NR_OF_ENTRIES
 
Constructor Summary
ServerStatisticsImpl()
           
 
Method Summary
 void addStats(String name, String value)
           
 Integer getIntStatistic(String statsName)
           
 String getStatistic(String statsName)
           
 Map<String,String> getStatsMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerStatisticsImpl

public ServerStatisticsImpl()
Method Detail

getStatsMap

public Map<String,String> getStatsMap()
Specified by:
getStatsMap in interface ServerStatistics

getStatistic

public String getStatistic(String statsName)
Specified by:
getStatistic in interface ServerStatistics

addStats

public void addStats(String name,
                     String value)

getIntStatistic

public Integer getIntStatistic(String statsName)
Specified by:
getIntStatistic in interface ServerStatistics

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.