public interface BackPressureState
Modifier and Type | Method and Description |
---|---|
double |
getBackPressureRateLimit()
Gets the current back-pressure rate limit.
|
InetAddressAndPort |
getHost()
Returns the host this state refers to.
|
void |
onMessageSent(Message<?> message)
Called when a message is sent to a replica.
|
void |
onResponseReceived()
Called when a response is received from a replica.
|
void |
onResponseTimeout()
Called when no response is received from replica.
|
void onMessageSent(Message<?> message)
void onResponseReceived()
void onResponseTimeout()
double getBackPressureRateLimit()
InetAddressAndPort getHost()
Copyright © 2009-2019 The Apache Software Foundation