public interface BackPressureState
Modifier and Type | Method and Description |
---|---|
double |
getBackPressureRateLimit()
Gets the current back-pressure rate limit.
|
java.net.InetAddress |
getHost()
Returns the host this state refers to.
|
void |
onMessageSent(MessageOut<?> 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(MessageOut<?> message)
void onResponseReceived()
void onResponseTimeout()
double getBackPressureRateLimit()
java.net.InetAddress getHost()
Copyright © 2017 The Apache Software Foundation