Infinispan.Hotrod.Core 0.0.3
.NET Core client for Infinispan Hotrod Protocol
Public Member Functions | Static Public Attributes | List of all members
Infinispan.Hotrod.Core.ServerStatistics Class Reference

Public Member Functions

 ServerStatistics (Dictionary< string, string > stats)
 
IDictionary< String, String > GetStatsMap ()
 Retrieve the complete list of statistics and their associated value.
 
String GetStatistic (String statsName)
 Retrive the value of the specified statistic. More...
 
int GetIntStatistic (String statsName)
 Retrive the value of the specified statistic. More...
 

Static Public Attributes

const String TIME_SINCE_START = "timeSinceStart"
 Number of seconds since Hot Rod started.
 
const String CURRENT_NR_OF_ENTRIES = "currentNumberOfEntries"
 Number of entries currently in the Hot Rod server.
 
const String TOTAL_NR_OF_ENTRIES = "totalNumberOfEntries"
 Number of entries stored in Hot Rod server since the server started running.
 
const String STORES = "stores"
 Number of put operations.
 
const String RETRIEVALS = "retrievals"
 Number of get operations.
 
const String HITS = "hits"
 Number of get hits.
 
const String MISSES = "misses"
 Number of get misses.
 
const String REMOVE_HITS = "removeHits"
 Number of removal hits.
 
const String REMOVE_MISSES = "removeMisses"
 Number of removal misses.
 

Member Function Documentation

◆ GetIntStatistic()

int Infinispan.Hotrod.Core.ServerStatistics.GetIntStatistic ( String  statsName)

Retrive the value of the specified statistic.

Parameters
statNamename of the statistic to retrieve
Returns
the value for the specified statistic as an int or -1 if no value is available

◆ GetStatistic()

String Infinispan.Hotrod.Core.ServerStatistics.GetStatistic ( String  statsName)

Retrive the value of the specified statistic.

Parameters
statNamename of the statistic to retrieve
Returns
the value for the specified statistic as a string or null

The documentation for this class was generated from the following file: