public interface BackPressureStrategy<S extends BackPressureState>
Map<String, Object> argument,
 representing any parameters eventually required by the specific implementation.| Modifier and Type | Method and Description | 
|---|---|
| void | apply(java.util.Set<S> states,
     long timeout,
     java.util.concurrent.TimeUnit unit)Applies the back-pressure algorithm, based and acting on the given  BackPressureStates, and up to the given
 timeout. | 
| S | newState(java.net.InetAddress host)Creates a new  BackPressureStateinitialized as needed by the specific implementation. | 
void apply(java.util.Set<S> states, long timeout, java.util.concurrent.TimeUnit unit)
BackPressureStates, and up to the given
 timeout.S newState(java.net.InetAddress host)
BackPressureState initialized as needed by the specific implementation.Copyright © 2018 The Apache Software Foundation