public class DisabledServiceRequestStats extends Object implements ServiceRequestStats
ServiceRequestStats
implementation.Constructor and Description |
---|
DisabledServiceRequestStats() |
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.
|
public void reportActiveConnection()
ServiceRequestStats
reportActiveConnection
in interface ServiceRequestStats
public void reportInactiveConnection()
ServiceRequestStats
reportInactiveConnection
in interface ServiceRequestStats
public void reportRequest()
ServiceRequestStats
reportRequest
in interface ServiceRequestStats
public void reportSuccessfulRequest(long durationTotalMillis)
ServiceRequestStats
reportSuccessfulRequest
in interface ServiceRequestStats
durationTotalMillis
- Duration of the request (in milliseconds).public void reportFailedRequest()
ServiceRequestStats
reportFailedRequest
in interface ServiceRequestStats
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.