Interface IBreakCheck
-
public interface IBreakCheck
Allow for abort checks during long waits.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
abortCheck()
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.InterruptedException
Obtain 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:
BreakException
java.lang.InterruptedException
-
-