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