com.perforce.p4java.impl.mapbased.rpc
Class ServerStats
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.ServerStats
public class ServerStats
- extends Object
Simple class to centralize statistics gathering and reporting for
the RPC implementation server objects. Access to these is basically
thread-safe because we're using the Atomic series of classes,
but in any case the stats gathered here aren't intended to be
exact or precise....
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverConnections
public AtomicLong serverConnections
- Number of actual socket connections made so far.
streamSends
public AtomicLong streamSends
streamRecvs
public AtomicLong streamRecvs
totalBytesSent
public AtomicLong totalBytesSent
totalBytesRecv
public AtomicLong totalBytesRecv
largestSend
public AtomicLong largestSend
largestRecv
public AtomicLong largestRecv
packetsSent
public AtomicLong packetsSent
packetsRecv
public AtomicLong packetsRecv
bufferCompacts
public AtomicLong bufferCompacts
connectStart
public AtomicLong connectStart
largestRpcPacketSent
public AtomicLong largestRpcPacketSent
largestRpcPacketRecv
public AtomicLong largestRpcPacketRecv
sendBufSize
public AtomicLong sendBufSize
recvBufSize
public AtomicLong recvBufSize
incompleteReads
public AtomicLong incompleteReads
ServerStats
public ServerStats()
clear
public void clear()
logStats
public void logStats()
Copyright © 2015 Perforce Software. All Rights Reserved.