public final class Delay extends Object
Constructor and Description |
---|
Delay() |
Modifier and Type | Method and Description |
---|---|
void |
await(long delayInMs) |
static LongSupplier |
exponential(long startDelay,
long maxDelay) |
void |
signal() |
public void await(long delayInMs)
public void signal()
public static LongSupplier exponential(long startDelay, long maxDelay)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.