Class ServerStats
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.rpc.ServerStats
-
public class ServerStats extends java.lang.ObjectSimple 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
Fields Modifier and Type Field Description java.util.concurrent.atomic.AtomicLongbufferCompactsjava.util.concurrent.atomic.AtomicLongconnectStartjava.util.concurrent.atomic.AtomicLongincompleteReadsjava.util.concurrent.atomic.AtomicLonglargestRecvjava.util.concurrent.atomic.AtomicLonglargestRpcPacketRecvjava.util.concurrent.atomic.AtomicLonglargestRpcPacketSentjava.util.concurrent.atomic.AtomicLonglargestSendjava.util.concurrent.atomic.AtomicLongpacketsRecvjava.util.concurrent.atomic.AtomicLongpacketsSentjava.util.concurrent.atomic.AtomicLongrecvBufSizejava.util.concurrent.atomic.AtomicLongsendBufSizejava.util.concurrent.atomic.AtomicLongserverConnectionsNumber of actual socket connections made so far.java.util.concurrent.atomic.AtomicLongstreamRecvsjava.util.concurrent.atomic.AtomicLongstreamSendsjava.util.concurrent.atomic.AtomicLongtotalBytesRecvjava.util.concurrent.atomic.AtomicLongtotalBytesSent
-
Constructor Summary
Constructors Constructor Description ServerStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidlogStats()
-
-
-
Field Detail
-
serverConnections
public java.util.concurrent.atomic.AtomicLong serverConnections
Number of actual socket connections made so far.
-
streamSends
public java.util.concurrent.atomic.AtomicLong streamSends
-
streamRecvs
public java.util.concurrent.atomic.AtomicLong streamRecvs
-
totalBytesSent
public java.util.concurrent.atomic.AtomicLong totalBytesSent
-
totalBytesRecv
public java.util.concurrent.atomic.AtomicLong totalBytesRecv
-
largestSend
public java.util.concurrent.atomic.AtomicLong largestSend
-
largestRecv
public java.util.concurrent.atomic.AtomicLong largestRecv
-
packetsSent
public java.util.concurrent.atomic.AtomicLong packetsSent
-
packetsRecv
public java.util.concurrent.atomic.AtomicLong packetsRecv
-
bufferCompacts
public java.util.concurrent.atomic.AtomicLong bufferCompacts
-
connectStart
public java.util.concurrent.atomic.AtomicLong connectStart
-
largestRpcPacketSent
public java.util.concurrent.atomic.AtomicLong largestRpcPacketSent
-
largestRpcPacketRecv
public java.util.concurrent.atomic.AtomicLong largestRpcPacketRecv
-
sendBufSize
public java.util.concurrent.atomic.AtomicLong sendBufSize
-
recvBufSize
public java.util.concurrent.atomic.AtomicLong recvBufSize
-
incompleteReads
public java.util.concurrent.atomic.AtomicLong incompleteReads
-
-