Package com.codingchili.core.context
Class Delay
java.lang.Object
com.codingchili.core.context.Delay
Delays given futures to allow for cleanup or to implement backoff timers.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Delay
public Delay()
-
-
Method Details
-
forMS
Delays the given future for the specified ms.- Parameters:
future
- the future to be delayed.ms
- milliseconds to wait before completing the future.
-