Cause this Future to fail with a FutureTimeoutException, with the given message, if it hasn't otherwise resolved in the given time.
Cause this Future to fail with a FutureTimeoutException, with the given message, if it hasn't otherwise resolved in the given time. Note that it is an error if the Future resolves *after* this time -- that will cause a double-resolution. So this is mainly intended as a backstop to prevent hangs.
Simplest version of failAfter(): fails after 1 second, with a standard message.
Simplest version of failAfter(): fails after 1 second, with a standard message. Useful for sanity-checking, especially in testing.
Simpler version of failAfter(), which will fail after 1 second.
Useful enhancements to Future.