Class ServerStats
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.ServerStats
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....
-
Field Summary
FieldsModifier and TypeFieldDescriptionNumber of actual socket connections made so far. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serverConnections
Number of actual socket connections made so far. -
streamSends
-
streamRecvs
-
totalBytesSent
-
totalBytesRecv
-
largestSend
-
largestRecv
-
packetsSent
-
packetsRecv
-
bufferCompacts
-
connectStart
-
largestRpcPacketSent
-
largestRpcPacketRecv
-
sendBufSize
-
recvBufSize
-
incompleteReads
-
-
Constructor Details
-
ServerStats
public ServerStats()
-
-
Method Details
-
clear
public void clear() -
logStats
public void logStats()
-