voldemort.server.niosocket
Class NioSelectorManagerStats
java.lang.Object
voldemort.server.niosocket.NioSelectorManagerStats
public class NioSelectorManagerStats
- extends java.lang.Object
Encapsulates all the statistics about various metrics in the NIO Network
layer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NioSelectorManagerStats
public NioSelectorManagerStats()
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