public interface NonBlockingManager
Modifier and Type | Method and Description |
---|---|
AutoCloseable |
scheduleWithFixedDelay(Supplier<CompletionStage<?>> supplier,
long initialDelay,
long delay,
TimeUnit unit)
Schedules the supplier that is executed after the initialDelay period and subsequently runs delay
after the previous stage completes.
|
AutoCloseable scheduleWithFixedDelay(Supplier<CompletionStage<?>> supplier, long initialDelay, long delay, TimeUnit unit)
supplier
- non-blocking operation supplier.initialDelay
- period of time before the supplier is invoked.delay
- delay between subsequent supplier invocations.unit
- time unit for delays.Copyright © 2021 JBoss by Red Hat. All rights reserved.