Interface KvStateRequestStats
-
- All Known Implementing Classes:
AtomicKvStateRequestStats
,DisabledKvStateRequestStats
public interface KvStateRequestStats
Simple statistics for monitoring the state server and the client proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reportActiveConnection()
Reports an active connection.void
reportFailedRequest()
Reports a failure during a request.void
reportInactiveConnection()
Reports an inactive connection.void
reportRequest()
Reports an incoming request.void
reportSuccessfulRequest(long durationTotalMillis)
Reports a successfully handled request.
-
-
-
Method Detail
-
reportActiveConnection
void reportActiveConnection()
Reports an active connection.
-
reportInactiveConnection
void reportInactiveConnection()
Reports an inactive connection.
-
reportRequest
void reportRequest()
Reports an incoming request.
-
reportSuccessfulRequest
void reportSuccessfulRequest(long durationTotalMillis)
Reports a successfully handled request.- Parameters:
durationTotalMillis
- Duration of the request (in milliseconds).
-
reportFailedRequest
void reportFailedRequest()
Reports a failure during a request.
-
-