- Enclosing class:
StackCompletion
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback that will be notified when threads block on a given completion.
-
Method Summary
-
Method Details
-
await
Implements the blocking await of aStackCompletion.- Parameters:
timeout- A timeout to bound the waiting. May benull.- Returns:
trueif the completion completed, otherwisefalse.- Throws:
InterruptedException- If the thread was interrupted while waiting.
-