Class ClientSocketStatistics
java.lang.Object
ecmwf.common.rmi.ClientSocketStatistics
The Class ClientSocketStatistics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic classThe Class StatisticsElement. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the.booleanisEmpty()Checks if is empty.voidOptional late-close evidence; listeners must be nonblocking and must not retain transport objects.snapshot()Copies bounded immutable values only; no Socket escapes into optional telemetry queues.toString()To string.
-
Constructor Details
-
ClientSocketStatistics
public ClientSocketStatistics()
-
-
Method Details
-
add
Adds the.- Parameters:
socket- the socketstartTime- the start time- Throws:
IOException- Signals that an I/O exception has occurred.
-
isEmpty
public boolean isEmpty()Checks if is empty.- Returns:
- true, if is empty
-
setSnapshotListener
Optional late-close evidence; listeners must be nonblocking and must not retain transport objects. -
snapshot
Copies bounded immutable values only; no Socket escapes into optional telemetry queues. -
toString
-