Interface WaitStrategy
public interface WaitStrategy
-
Method Summary
Modifier and Type Method Description <ModelT, CallbackT>
ProgressEvent<ModelT,CallbackT>await(long operationElapsedTime, java.time.Duration nextAttempt, CallbackT context, ModelT model)static WaitStrategynewLocalLoopAwaitStrategy(java.util.function.Supplier<java.lang.Long> remainingTimeToExecute)static WaitStrategyscheduleForCallbackStrategy()
-
Method Details
-
await
<ModelT, CallbackT> ProgressEvent<ModelT,CallbackT> await(long operationElapsedTime, java.time.Duration nextAttempt, CallbackT context, ModelT model) -
newLocalLoopAwaitStrategy
static WaitStrategy newLocalLoopAwaitStrategy(java.util.function.Supplier<java.lang.Long> remainingTimeToExecute) -
scheduleForCallbackStrategy
-