Interface Client2Notification.RequestBackpressure

Enclosing class:
Client2Notification
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Client2Notification.RequestBackpressure
Notification of approaching limit on pending requests.

This handler is called with slowdown set to true when the number of requests pending in the client has risen to the configured warning level or greater. It will subsequently be called with slowdown set to false when the pending count has fallen to the configured resume level or lower.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(boolean slowdown)
     
  • Method Details

    • accept

      void accept(boolean slowdown)