com.basho.riak.client.query
Class NodeStats

java.lang.Object
  extended by com.basho.riak.client.query.NodeStats
All Implemented Interfaces:
Iterable<NodeStats>

public class NodeStats
extends Object
implements Iterable<NodeStats>

The encapsulation of the data returned by the Riak /stats operation.

By implementing the Iterable interface it contains N sets of data where N is the number of connections the current client holds.

Worth noting is that integer values are returned as BigInteger objects. This is done to match the unconstrained size provided by Riak.

For example, using the HTTPClusterClient you can retrieve stats from all of your nodes:

 HTTPClusterConfig c = new HTTPClusterConfig(10);
 HTTPClientConfig cc HTTPClientConfig.defaults();
 c.addHosts(cc,"192.168.1.5:8098","192.168.1.6:8098","192.168.1.7:8098");
 
 IRiakClient riakClient = RiakFactory.newClient(c);
 
 for (NodeStats ns : riakClient.stats())
 {
     System.out.println(ns.nodename());
     Syste.out.println(ns.vnodeGets());
 }
 
 

Author:
roach

Constructor Summary
NodeStats()
           
 
Method Summary
 void add(NodeStats anotherStats)
          Adds a set of stats to the end of the collection.
 String bashoMetricsVersion()
          Returns the basho_lager_version value from the Riak stats reply
 String bashoStatsVersion()
          Returns the basho_stats_version value from the Riak stats reply
 String bitcaskVersion()
          Returns the bitcask_version value from the Riak stats reply
 String clusterInfoVersion()
          Returns the cluster_info_version value from the Riak stats reply
 String[] connectedNodes()
          Returns the connected_nodes value from the Riak Stats reply
 BigInteger convergeDelayLast()
           
 BigInteger convergeDelayMax()
           
 BigInteger convergeDelayMean()
           
 BigInteger convergeDelayMin()
           
 BigInteger coordRedirsTotal()
          Returns the coord_redirs_total value from the Riak Stats reply
 BigInteger cpuAvg1()
          Returns the cpu_avg1 value from the Riak Stats reply
 BigInteger cpuAvg15()
          Returns the cpu_avg15 value from the Riak Stats reply
 BigInteger cpuAvg5()
          Returns the cpu_avg5 value from the Riak Stats reply
 BigInteger cpuNumProcs()
          Returns the cpu_nprocs value from the Riak Stats reply
 String cryptoVersion()
          Returns the crypto_version value from the Riak stats reply
 String erlangJsVersion()
          Returns the erlang_js_version value from the Riak stats reply
 BigInteger executingMappers()
          Returns the executing_mappers value from the Riak Stats reply
 BigInteger gossipReceived()
           
 BigInteger ignoredGossipTotal()
           
 String inetsVersion()
          Returns the inets_version value from the Riak stats reply
 Iterator<NodeStats> iterator()
           
 String kernelVersion()
          Returns the kernel_version value from the Riak stats reply
 String lagerVersion()
          Returns the lager_version value from the Riak stats reply
 String lukeVeriosn()
          Returns the luke_version value from the Riak stats reply
 String luwakVersion()
          Returns the luwak_version value from the Riak stats reply
 BigInteger memAllocated()
          Returns the mem_allocated value from the Riak Stats reply
 BigInteger memoryAtom()
          Returns the memory_atom value from the Riak Stats reply
 BigInteger memoryAtomUsed()
          Returns the memory_atom_used value from the Riak Stats reply
 BigInteger memoryBinary()
          Returns the memory_binary value from the Riak Stats reply
 BigInteger memoryCode()
          Returns the memory_code value from the Riak Stats reply
 BigInteger memoryEts()
          Returns the memory_ets value from the Riak Stats reply
 BigInteger memoryProcesses()
          Returns the memory_processes value from the Riak Stats reply
 BigInteger memoryProcessesUsed()
          Returns the memory_processes_used value from the Riak Stats reply
 BigInteger memorySystem()
          Returns the memory_system value from the Riak Stats reply
 BigInteger memoryTotal()
          Returns the memory_total value from the Riak Stats reply
 BigInteger memTotal()
          Returns the mem_total value from the Riak Stats reply
 String mergeIndexVersion()
          Returns the merge_index_version value from the Riak stats reply
 String mochiwebVersion()
          Returns the mochiweb_value value from the Riak stats reply
 BigInteger nodeGetFsmObjsize95()
          Returns the node_put_fsm_objsize_95 value from the Riak Stats reply
 BigInteger nodeGetFsmObjsize99()
          Returns the node_put_fsm_objsize_99 value from the Riak Stats reply
 BigInteger nodeGetFsmObjsizeMean()
          Returns the node_get_fsm_objsize_mean value from the Riak Stats reply
 BigInteger nodeGetFsmObjsizeMedian()
          Returns the node_put_fsm_objsize_median value from the Riak Stats reply
 BigInteger nodeGetFsmSiblings100()
          Returns the node_put_fsm_siblings_100 value from the Riak Stats reply
 BigInteger nodeGetFsmSiblings95()
          Returns the node_put_fsm_siblings_95 value from the Riak Stats reply
 BigInteger nodeGetFsmSiblings99()
          Returns the node_put_fsm_siblings_99 value from the Riak Stats reply
 BigInteger nodeGetFsmSiblingsMean()
          Returns the node_get_fsm_siblings_mean value from the Riak Stats reply
 BigInteger nodeGetFsmSiblingsMedian()
          Returns the node_put_fsm_siblings_median value from the Riak Stats reply
 BigInteger nodeGetFsmTime100()
          Returns the node_get_fsm_time_100 value from the Riak Stats reply
 BigInteger nodeGetFsmTime95()
          Returns the node_get_fsm_time_95 value from the Riak Stats reply
 BigInteger nodeGetFsmTime99()
          Returns the node_get_fsm_time_99 value from the Riak Stats reply
 BigInteger nodeGetFsmTimeMean()
          Returns the node_get_fsm_time_mean value from the Riak Stats reply
 BigInteger nodeGetFsmTimeMedian()
          Returns the node_get_fsm_time_median value from the Riak Stats reply
 BigInteger nodeGets()
          Returns the node_gets value from the Riak Stats reply
 BigInteger nodeGetsTotal()
          Returns the node_gets_total value from the Riak Stats reply
 String nodename()
          Returns the nodename value from the Riak stats reply
 BigInteger nodePutFsmSObjsize100()
          Returns the node_put_fsm_objsize_100 value from the Riak Stats reply
 BigInteger nodePutFsmTime100()
          Returns the node_put_fsm_time_100 value from the Riak Stats reply
 BigInteger nodePutFsmTime95()
          Returns the node_put_fsm_time_95 value from the Riak Stats reply
 BigInteger nodePutFsmTime99()
          Returns the node_put_fsm_time_99 value from the Riak Stats reply
 BigInteger nodePutFsmTimeMean()
          Returns the node_get_fsm_time_mean value from the Riak Stats reply
 BigInteger nodePutFsmTimeMedian()
          Returns the node_put_fsm_time_median value from the Riak Stats reply
 BigInteger nodePuts()
          Returns the node_puts value from the Riak Stats reply
 BigInteger nodePutsTotal()
          Returns the node_puts_total value from the Riak Stats reply
 String osMonVersion()
          Returns the os_mon_version value from the Riak stats reply
 BigInteger pbcActive()
          Returns the pbc_active value from the Riak Stats reply
 BigInteger pbcConnects()
          Returns the pbc_connects value from the Riak Stats reply
 BigInteger pbcConnectsTotal()
          Returns the pbc_connects_total value from the Riak Stats reply
 BigInteger postcommitFail()
           
 BigInteger precommitFail()
           
 String publicKeyVersion()
          Returns the public_key_version value from the Riak stats reply
 BigInteger readRepairs()
          Returns the read_repairs value from the Riak Stats reply
 BigInteger readRepairsTotal()
          Returns the read_repairs_total value from the Riak Stats reply
 BigInteger rebalanceDelayLast()
           
 BigInteger rebalanceDelayMax()
           
 BigInteger rebalanceDelayMean()
           
 BigInteger rebalanceDelayMin()
           
 String riak_sysmon_version()
          Returns the riak_sysmon_version value from the Riak stats reply
 String riakCoreVersion()
          Returns the riak_core_version value from the Riak stats reply
 String riakKvVersion()
          Returns the riak_kv_version value from the Riak stats reply
 BigInteger riakKvVnodeqMax()
           
 BigInteger riakKvVnodeqMean()
           
 BigInteger riakKvVnodeqMedian()
           
 BigInteger riakKvVnodeqMin()
           
 BigInteger riakKvVnodeqTotal()
           
 BigInteger riakKvVnodesRunning()
           
 String riakPipeVersion()
          Returns the riak_pipe_version value from the Riak stats reply
 BigInteger riakPipeVnodeqMax()
           
 BigInteger riakPipeVnodeqMean()
           
 BigInteger riakPipeVnodeqMedian()
           
 BigInteger riakPipeVnodeqMin()
           
 BigInteger riakPipeVnodeqTotal()
           
 BigInteger riakPipeVnodesRunning()
           
 String riakSearchVersion()
          Returns the riak_search_version value from the Riak stats reply
 BigInteger ringCreationSize()
          Returns the ring_creation_size value from the Riak Stats reply
 String[] ringMembers()
          Returns the ring_members value from the Riak Stats reply
 BigInteger ringNumPartitions()
          Returns the ring_num_partitions value from the Riak Stats reply
 String ringOwnership()
          Returns the ring_ownership value from the Riak stats reply
 BigInteger ringsReconciled()
           
 BigInteger ringsReconciledTotal()
           
 String runtimeToolsVersion()
          Returns the runtime_tools_version value from the Riak stats reply
 String saslVersion()
          Returns the sasl_version value from the Riak stats reply
 String skerlVersion()
          Returns the skerl_version value from the Riak stats reply
 String sslVeriosn()
          Returns the ssl_version value from the Riak stats reply
 String stdlibVersion()
          Returns the stdlib_version value from the Riak stats reply
 String storageBackend()
          Returns the storage_backend value from the Riak stats reply
 String sysDriverVersion()
          Returns the sys_driver_version value from the Riak stats reply
 BigInteger sysGlobalHeapsSize()
          Returns the sys_global_heaps_size value from the Riak Stats reply
 String sysHeapType()
          Returns the sys_heap_type value from the Riak stats reply
 BigInteger sysLogicalProcessors()
          Returns the sys_logical_processors value from the Riak Stats reply
 String sysOtpRelease()
          Returns the sys_otp_release value from the Riak stats reply
 BigInteger sysProcessCount()
          Returns the sys_process_count value from the Riak Stats reply
 boolean sysSmpSupport()
          Returns the sys_smp_support value from the Riak Stats reply
 String sysSystemArchitecture()
          Returns the sys_system_architecture value from the Riak stats reply
 String sysSystemVersion()
          Returns the sys_system_version value from the Riak stats reply
 BigInteger sysThreadPoolSize()
          Returns the sys_thread_pool_size value from the Riak Stats reply
 boolean sysThreadsEnabled()
          Returns the sys_threads_enabled value from the Riak Stats reply
 BigInteger sysWordSize()
          Returns the sys_wordsize value from the Riak Stats reply
 BigInteger vnodeGets()
          Returns the vnode_gets value from the Riak stats reply
 BigInteger vnodeGetsTotal()
          Returns the vnode_gets_total value from the Riak Stats reply
 BigInteger vnodeIndexDeletes()
          Returns the vnode_index_deletes value from the Riak Stats reply
 BigInteger vnodeIndexDeletesPostingsTotal()
          Returns the vnode_index_deletes_postings_total value from the Riak Stats reply
 BigInteger vnodeIndexDeletesTotal()
          Returns the vnode_index_deletes_total value from the Riak Stats reply
 BigInteger vnodeIndexReads()
          Returns the vnode_index_reads value from the Riak stats reply
 BigInteger vnodeIndexReadsTotal()
          Returns the vnode_index_reads_total value from the Riak Stats reply
 BigInteger vnodeIndexWritePostings()
          Returns the vnode_index_writes_postings value from the Riak stats reply
 BigInteger vnodeIndexWrites()
          Returns the vnode_index_writes value from the Riak stats reply
 BigInteger vnodeIndexWritesPostingsTotal()
          Returns the vnode_index_writes_postings_total value from the Riak Stats reply
 BigInteger vnodeIndexWritesTotal()
          Returns the vnode_index_writes_total value from the Riak Stats reply
 BigInteger vnodePuts()
          Returns the vnode_gets value from the Riak stats reply
 BigInteger vnodePutsTotal()
          Returns the vnode_puts_total value from the Riak Stats reply
 BigInteger vnodesIndexDeletesPostings()
          Returns the vnode_index_deletes_postings value from the Riak Stats reply
 String webmachineVersion()
          Returns the webmachine_version value from the Riak stats reply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeStats

public NodeStats()
Method Detail

vnodeGets

public BigInteger vnodeGets()
Returns the vnode_gets value from the Riak stats reply

Returns:
int value

vnodePuts

public BigInteger vnodePuts()
Returns the vnode_gets value from the Riak stats reply

Returns:
int value

vnodeIndexReads

public BigInteger vnodeIndexReads()
Returns the vnode_index_reads value from the Riak stats reply

Returns:
int value

vnodeIndexWrites

public BigInteger vnodeIndexWrites()
Returns the vnode_index_writes value from the Riak stats reply

Returns:
int value

vnodeIndexWritePostings

public BigInteger vnodeIndexWritePostings()
Returns the vnode_index_writes_postings value from the Riak stats reply

Returns:
int value

vnodeIndexDeletes

public BigInteger vnodeIndexDeletes()
Returns the vnode_index_deletes value from the Riak Stats reply

Returns:
int value

vnodesIndexDeletesPostings

public BigInteger vnodesIndexDeletesPostings()
Returns the vnode_index_deletes_postings value from the Riak Stats reply

Returns:
int value

readRepairs

public BigInteger readRepairs()
Returns the read_repairs value from the Riak Stats reply

Returns:
int value

vnodeGetsTotal

public BigInteger vnodeGetsTotal()
Returns the vnode_gets_total value from the Riak Stats reply

Returns:
int value

vnodePutsTotal

public BigInteger vnodePutsTotal()
Returns the vnode_puts_total value from the Riak Stats reply

Returns:
int value

vnodeIndexReadsTotal

public BigInteger vnodeIndexReadsTotal()
Returns the vnode_index_reads_total value from the Riak Stats reply

Returns:
int value

vnodeIndexWritesTotal

public BigInteger vnodeIndexWritesTotal()
Returns the vnode_index_writes_total value from the Riak Stats reply

Returns:
int value

vnodeIndexWritesPostingsTotal

public BigInteger vnodeIndexWritesPostingsTotal()
Returns the vnode_index_writes_postings_total value from the Riak Stats reply

Returns:
int value

vnodeIndexDeletesTotal

public BigInteger vnodeIndexDeletesTotal()
Returns the vnode_index_deletes_total value from the Riak Stats reply

Returns:
int value

vnodeIndexDeletesPostingsTotal

public BigInteger vnodeIndexDeletesPostingsTotal()
Returns the vnode_index_deletes_postings_total value from the Riak Stats reply

Returns:
int value

nodeGets

public BigInteger nodeGets()
Returns the node_gets value from the Riak Stats reply

Returns:
int value

nodeGetsTotal

public BigInteger nodeGetsTotal()
Returns the node_gets_total value from the Riak Stats reply

Returns:
int value

nodeGetFsmTimeMean

public BigInteger nodeGetFsmTimeMean()
Returns the node_get_fsm_time_mean value from the Riak Stats reply

Returns:
int value

nodeGetFsmTimeMedian

public BigInteger nodeGetFsmTimeMedian()
Returns the node_get_fsm_time_median value from the Riak Stats reply

Returns:
int value

nodeGetFsmTime95

public BigInteger nodeGetFsmTime95()
Returns the node_get_fsm_time_95 value from the Riak Stats reply

Returns:
int value

nodeGetFsmTime99

public BigInteger nodeGetFsmTime99()
Returns the node_get_fsm_time_99 value from the Riak Stats reply

Returns:
int value

nodeGetFsmTime100

public BigInteger nodeGetFsmTime100()
Returns the node_get_fsm_time_100 value from the Riak Stats reply

Returns:
int value

nodePuts

public BigInteger nodePuts()
Returns the node_puts value from the Riak Stats reply

Returns:
int value

nodePutsTotal

public BigInteger nodePutsTotal()
Returns the node_puts_total value from the Riak Stats reply

Returns:
int value

nodePutFsmTimeMean

public BigInteger nodePutFsmTimeMean()
Returns the node_get_fsm_time_mean value from the Riak Stats reply

Returns:
int value

nodePutFsmTimeMedian

public BigInteger nodePutFsmTimeMedian()
Returns the node_put_fsm_time_median value from the Riak Stats reply

Returns:
int value

nodePutFsmTime95

public BigInteger nodePutFsmTime95()
Returns the node_put_fsm_time_95 value from the Riak Stats reply

Returns:
int value

nodePutFsmTime99

public BigInteger nodePutFsmTime99()
Returns the node_put_fsm_time_99 value from the Riak Stats reply

Returns:
int value

nodePutFsmTime100

public BigInteger nodePutFsmTime100()
Returns the node_put_fsm_time_100 value from the Riak Stats reply

Returns:
int value

nodeGetFsmSiblingsMean

public BigInteger nodeGetFsmSiblingsMean()
Returns the node_get_fsm_siblings_mean value from the Riak Stats reply

Returns:
int value

nodeGetFsmSiblingsMedian

public BigInteger nodeGetFsmSiblingsMedian()
Returns the node_put_fsm_siblings_median value from the Riak Stats reply

Returns:
int value

nodeGetFsmSiblings95

public BigInteger nodeGetFsmSiblings95()
Returns the node_put_fsm_siblings_95 value from the Riak Stats reply

Returns:
int value

nodeGetFsmSiblings99

public BigInteger nodeGetFsmSiblings99()
Returns the node_put_fsm_siblings_99 value from the Riak Stats reply

Returns:
int value

nodeGetFsmSiblings100

public BigInteger nodeGetFsmSiblings100()
Returns the node_put_fsm_siblings_100 value from the Riak Stats reply

Returns:
int value

nodeGetFsmObjsizeMean

public BigInteger nodeGetFsmObjsizeMean()
Returns the node_get_fsm_objsize_mean value from the Riak Stats reply

Returns:
int value

nodeGetFsmObjsizeMedian

public BigInteger nodeGetFsmObjsizeMedian()
Returns the node_put_fsm_objsize_median value from the Riak Stats reply

Returns:
int value

nodeGetFsmObjsize95

public BigInteger nodeGetFsmObjsize95()
Returns the node_put_fsm_objsize_95 value from the Riak Stats reply

Returns:
int value

nodeGetFsmObjsize99

public BigInteger nodeGetFsmObjsize99()
Returns the node_put_fsm_objsize_99 value from the Riak Stats reply

Returns:
int value

nodePutFsmSObjsize100

public BigInteger nodePutFsmSObjsize100()
Returns the node_put_fsm_objsize_100 value from the Riak Stats reply

Returns:
int value

readRepairsTotal

public BigInteger readRepairsTotal()
Returns the read_repairs_total value from the Riak Stats reply

Returns:
int value

coordRedirsTotal

public BigInteger coordRedirsTotal()
Returns the coord_redirs_total value from the Riak Stats reply

Returns:
int value

cpuNumProcs

public BigInteger cpuNumProcs()
Returns the cpu_nprocs value from the Riak Stats reply

Returns:
int value

cpuAvg1

public BigInteger cpuAvg1()
Returns the cpu_avg1 value from the Riak Stats reply

Returns:
int value

cpuAvg5

public BigInteger cpuAvg5()
Returns the cpu_avg5 value from the Riak Stats reply

Returns:
int value

cpuAvg15

public BigInteger cpuAvg15()
Returns the cpu_avg15 value from the Riak Stats reply

Returns:
int value

memTotal

public BigInteger memTotal()
Returns the mem_total value from the Riak Stats reply

Returns:
int value

memAllocated

public BigInteger memAllocated()
Returns the mem_allocated value from the Riak Stats reply

Returns:
int value

nodename

public String nodename()
Returns the nodename value from the Riak stats reply

Returns:
String value

connectedNodes

public String[] connectedNodes()
Returns the connected_nodes value from the Riak Stats reply

Returns:
String[] of node names

sysDriverVersion

public String sysDriverVersion()
Returns the sys_driver_version value from the Riak stats reply

Returns:
String value

sysGlobalHeapsSize

public BigInteger sysGlobalHeapsSize()
Returns the sys_global_heaps_size value from the Riak Stats reply

Returns:
int value

sysHeapType

public String sysHeapType()
Returns the sys_heap_type value from the Riak stats reply

Returns:
String value

sysLogicalProcessors

public BigInteger sysLogicalProcessors()
Returns the sys_logical_processors value from the Riak Stats reply

Returns:
int value

sysOtpRelease

public String sysOtpRelease()
Returns the sys_otp_release value from the Riak stats reply

Returns:
String value

sysProcessCount

public BigInteger sysProcessCount()
Returns the sys_process_count value from the Riak Stats reply

Returns:
int value

sysSmpSupport

public boolean sysSmpSupport()
Returns the sys_smp_support value from the Riak Stats reply

Returns:
boolean value

sysSystemVersion

public String sysSystemVersion()
Returns the sys_system_version value from the Riak stats reply

Returns:
String value

sysSystemArchitecture

public String sysSystemArchitecture()
Returns the sys_system_architecture value from the Riak stats reply

Returns:
String value

sysThreadsEnabled

public boolean sysThreadsEnabled()
Returns the sys_threads_enabled value from the Riak Stats reply

Returns:
boolean value

sysThreadPoolSize

public BigInteger sysThreadPoolSize()
Returns the sys_thread_pool_size value from the Riak Stats reply

Returns:
int value

sysWordSize

public BigInteger sysWordSize()
Returns the sys_wordsize value from the Riak Stats reply

Returns:
int value

ringMembers

public String[] ringMembers()
Returns the ring_members value from the Riak Stats reply

Returns:
String[] of node names

ringNumPartitions

public BigInteger ringNumPartitions()
Returns the ring_num_partitions value from the Riak Stats reply

Returns:
int value

ringOwnership

public String ringOwnership()
Returns the ring_ownership value from the Riak stats reply

Returns:
String value

ringCreationSize

public BigInteger ringCreationSize()
Returns the ring_creation_size value from the Riak Stats reply

Returns:
int value

storageBackend

public String storageBackend()
Returns the storage_backend value from the Riak stats reply

Returns:
String value

pbcConnectsTotal

public BigInteger pbcConnectsTotal()
Returns the pbc_connects_total value from the Riak Stats reply

Returns:
int value

pbcConnects

public BigInteger pbcConnects()
Returns the pbc_connects value from the Riak Stats reply

Returns:
int value

pbcActive

public BigInteger pbcActive()
Returns the pbc_active value from the Riak Stats reply

Returns:
int value

sslVeriosn

public String sslVeriosn()
Returns the ssl_version value from the Riak stats reply

Returns:
String value

publicKeyVersion

public String publicKeyVersion()
Returns the public_key_version value from the Riak stats reply

Returns:
String value

runtimeToolsVersion

public String runtimeToolsVersion()
Returns the runtime_tools_version value from the Riak stats reply

Returns:
String value

bashoStatsVersion

public String bashoStatsVersion()
Returns the basho_stats_version value from the Riak stats reply

Returns:
String value

riakSearchVersion

public String riakSearchVersion()
Returns the riak_search_version value from the Riak stats reply

Returns:
String value

mergeIndexVersion

public String mergeIndexVersion()
Returns the merge_index_version value from the Riak stats reply

Returns:
String value

luwakVersion

public String luwakVersion()
Returns the luwak_version value from the Riak stats reply

Returns:
String value

skerlVersion

public String skerlVersion()
Returns the skerl_version value from the Riak stats reply

Returns:
String value

riakKvVersion

public String riakKvVersion()
Returns the riak_kv_version value from the Riak stats reply

Returns:
String value

bitcaskVersion

public String bitcaskVersion()
Returns the bitcask_version value from the Riak stats reply

Returns:
String value

lukeVeriosn

public String lukeVeriosn()
Returns the luke_version value from the Riak stats reply

Returns:
String value

erlangJsVersion

public String erlangJsVersion()
Returns the erlang_js_version value from the Riak stats reply

Returns:
String value

mochiwebVersion

public String mochiwebVersion()
Returns the mochiweb_value value from the Riak stats reply

Returns:
String value

inetsVersion

public String inetsVersion()
Returns the inets_version value from the Riak stats reply

Returns:
String value

riakPipeVersion

public String riakPipeVersion()
Returns the riak_pipe_version value from the Riak stats reply

Returns:
String value

riakCoreVersion

public String riakCoreVersion()
Returns the riak_core_version value from the Riak stats reply

Returns:
String value

riak_sysmon_version

public String riak_sysmon_version()
Returns the riak_sysmon_version value from the Riak stats reply

Returns:
String value

webmachineVersion

public String webmachineVersion()
Returns the webmachine_version value from the Riak stats reply

Returns:
String value

cryptoVersion

public String cryptoVersion()
Returns the crypto_version value from the Riak stats reply

Returns:
String value

osMonVersion

public String osMonVersion()
Returns the os_mon_version value from the Riak stats reply

Returns:
String value

clusterInfoVersion

public String clusterInfoVersion()
Returns the cluster_info_version value from the Riak stats reply

Returns:
String value

saslVersion

public String saslVersion()
Returns the sasl_version value from the Riak stats reply

Returns:
String value

lagerVersion

public String lagerVersion()
Returns the lager_version value from the Riak stats reply

Returns:
String value

bashoMetricsVersion

public String bashoMetricsVersion()
Returns the basho_lager_version value from the Riak stats reply

Returns:
String value

stdlibVersion

public String stdlibVersion()
Returns the stdlib_version value from the Riak stats reply

Returns:
String value

kernelVersion

public String kernelVersion()
Returns the kernel_version value from the Riak stats reply

Returns:
String value

executingMappers

public BigInteger executingMappers()
Returns the executing_mappers value from the Riak Stats reply

Returns:
int value

memoryTotal

public BigInteger memoryTotal()
Returns the memory_total value from the Riak Stats reply

Returns:
int value

memoryProcesses

public BigInteger memoryProcesses()
Returns the memory_processes value from the Riak Stats reply

Returns:
int value

memoryProcessesUsed

public BigInteger memoryProcessesUsed()
Returns the memory_processes_used value from the Riak Stats reply

Returns:
int value

memorySystem

public BigInteger memorySystem()
Returns the memory_system value from the Riak Stats reply

Returns:
int value

memoryAtom

public BigInteger memoryAtom()
Returns the memory_atom value from the Riak Stats reply

Returns:
int value

memoryAtomUsed

public BigInteger memoryAtomUsed()
Returns the memory_atom_used value from the Riak Stats reply

Returns:
int value

memoryBinary

public BigInteger memoryBinary()
Returns the memory_binary value from the Riak Stats reply

Returns:
int value

memoryCode

public BigInteger memoryCode()
Returns the memory_code value from the Riak Stats reply

Returns:
int value

memoryEts

public BigInteger memoryEts()
Returns the memory_ets value from the Riak Stats reply

Returns:
int value

precommitFail

public BigInteger precommitFail()
Returns:
the precommit_fail

postcommitFail

public BigInteger postcommitFail()
Returns:
the postcommit_fail

ignoredGossipTotal

public BigInteger ignoredGossipTotal()
Returns:
the ignored_gossip_total

ringsReconciledTotal

public BigInteger ringsReconciledTotal()
Returns:
the rings_reconciled_total

ringsReconciled

public BigInteger ringsReconciled()
Returns:
the rings_reconciled

gossipReceived

public BigInteger gossipReceived()
Returns:
the gossip_received

convergeDelayMin

public BigInteger convergeDelayMin()
Returns:
the converge_delay_min

convergeDelayMax

public BigInteger convergeDelayMax()
Returns:
the converge_delay_max

convergeDelayMean

public BigInteger convergeDelayMean()
Returns:
the converge_delay_mean

convergeDelayLast

public BigInteger convergeDelayLast()
Returns:
the converge_delay_last

rebalanceDelayMin

public BigInteger rebalanceDelayMin()
Returns:
the rebalance_delay_min

rebalanceDelayMax

public BigInteger rebalanceDelayMax()
Returns:
the rebalance_delay_max

rebalanceDelayMean

public BigInteger rebalanceDelayMean()
Returns:
the rebalance_delay_mean

rebalanceDelayLast

public BigInteger rebalanceDelayLast()
Returns:
the rebalanceDelay_last

riakKvVnodesRunning

public BigInteger riakKvVnodesRunning()
Returns:
the riak_kv_vnodes_running

riakKvVnodeqMin

public BigInteger riakKvVnodeqMin()
Returns:
the riak_kv_vnodeq_min

riakKvVnodeqMedian

public BigInteger riakKvVnodeqMedian()
Returns:
the riak_kv_vnodeq_median

riakKvVnodeqMean

public BigInteger riakKvVnodeqMean()
Returns:
the riak_kv_vnodeq_mean

riakKvVnodeqMax

public BigInteger riakKvVnodeqMax()
Returns:
the riak_kv_vnodeq_max

riakKvVnodeqTotal

public BigInteger riakKvVnodeqTotal()
Returns:
the riak_kv_vnodeq_total

riakPipeVnodesRunning

public BigInteger riakPipeVnodesRunning()
Returns:
the riak_pipe_vnodes_running

riakPipeVnodeqMin

public BigInteger riakPipeVnodeqMin()
Returns:
the riak_pipe_vnodeq_min

riakPipeVnodeqMedian

public BigInteger riakPipeVnodeqMedian()
Returns:
the riak_pipe_vnodeq_median

riakPipeVnodeqMean

public BigInteger riakPipeVnodeqMean()
Returns:
the riak_pipe_vnodeq_mean

riakPipeVnodeqMax

public BigInteger riakPipeVnodeqMax()
Returns:
the riak_pipe_vnodeq_max

riakPipeVnodeqTotal

public BigInteger riakPipeVnodeqTotal()
Returns:
the riak_pipe_vnodeq_total

add

public void add(NodeStats anotherStats)
Adds a set of stats to the end of the collection. Using the iterator you can retrieve each set in order

Parameters:
anotherStats - an additional NodeStats

iterator

public Iterator<NodeStats> iterator()
Specified by:
iterator in interface Iterable<NodeStats>


Copyright © 2012. All Rights Reserved.