public interface ServiceRequestStats
Modifier and Type | Method and 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.
|
void reportActiveConnection()
void reportInactiveConnection()
void reportRequest()
void reportSuccessfulRequest(long durationTotalMillis)
durationTotalMillis
- Duration of the request (in milliseconds).void reportFailedRequest()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.