Interface WaitStrategy
-
public interface WaitStrategy
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <ModelT,CallbackT>
ProgressEvent<ModelT,CallbackT>await(long operationElapsedTime, Duration nextAttempt, CallbackT context, ModelT model)static WaitStrategynewLocalLoopAwaitStrategy(Supplier<Long> remainingTimeToExecute)static WaitStrategyscheduleForCallbackStrategy()
-
-
-
Method Detail
-
await
<ModelT,CallbackT> ProgressEvent<ModelT,CallbackT> await(long operationElapsedTime, Duration nextAttempt, CallbackT context, ModelT model)
-
newLocalLoopAwaitStrategy
static WaitStrategy newLocalLoopAwaitStrategy(Supplier<Long> remainingTimeToExecute)
-
scheduleForCallbackStrategy
static WaitStrategy scheduleForCallbackStrategy()
-
-