public class NonBlockingManagerImpl extends Object implements NonBlockingManager
Constructor and Description |
---|
NonBlockingManagerImpl() |
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.
|
public AutoCloseable scheduleWithFixedDelay(Supplier<CompletionStage<?>> supplier, long initialDelay, long delay, TimeUnit unit)
NonBlockingManager
scheduleWithFixedDelay
in interface NonBlockingManager
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.