Glossary: System Design Basics in Java
DoubleSupplier
Also written: Supplier
A ready-made Java interface for a function that takes nothing and returns a double (called with getAsDouble); Supplier<T> does the same for any type T. Used here to pass in a clock or a piece of work to retry.