Interface UtilizationProbe.Pacer

Enclosing class:
UtilizationProbe
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 UtilizationProbe.Pacer
Pauses between requests (replaceable in tests).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pause(long millis)
    Waits.
  • Method Details

    • pause

      void pause(long millis)
      Waits.
      Parameters:
      millis - how long