voldemort.server.niosocket
Class NioSelectorManagerStats

java.lang.Object
  extended by voldemort.server.niosocket.NioSelectorManagerStats

public class NioSelectorManagerStats
extends java.lang.Object

Encapsulates all the statistics about various metrics in the NIO Network layer


Constructor Summary
NioSelectorManagerStats()
           
 
Method Summary
 void addConnection()
           
 java.lang.Integer getNumActiveConnections()
          Returns the number of active connections for this selector manager
 Histogram getProcessingTimeMsHistogram()
           
 Histogram getSelectCountHistogram()
           
 Histogram getSelectTimeMsHistogram()
           
 CommBufferSizeStats getServerCommBufferStats()
           
 void removeConnection()
           
 void updateSelectStats(int selectCount, long selectTimeMs, long processingTimeMs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NioSelectorManagerStats

public NioSelectorManagerStats()
Method Detail

addConnection

public void addConnection()

removeConnection

public void removeConnection()

updateSelectStats

public void updateSelectStats(int selectCount,
                              long selectTimeMs,
                              long processingTimeMs)

getNumActiveConnections

public java.lang.Integer getNumActiveConnections()
Returns the number of active connections for this selector manager

Returns:
number of active connections.

getSelectTimeMsHistogram

public Histogram getSelectTimeMsHistogram()

getSelectCountHistogram

public Histogram getSelectCountHistogram()

getProcessingTimeMsHistogram

public Histogram getProcessingTimeMsHistogram()

getServerCommBufferStats

public CommBufferSizeStats getServerCommBufferStats()


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu