Interface IBreakCheck
-
public interface IBreakCheckAllow for abort checks during long waits.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longabortCheck()Obtain the maximum time (in milliseconds) that a wait should occur before checking for an abort.
-
-
-
Method Detail
-
abortCheck
long abortCheck() throws BreakException, java.lang.InterruptedExceptionObtain the maximum time (in milliseconds) that a wait should occur before checking for an abort. Also check for the abort and throw a BreakException if the abort should take place.- Throws:
BreakExceptionjava.lang.InterruptedException
-
-