@Override public void checkCancelled() throws InterruptedException { if (Thread.interrupted() || isCancelRequested()) { throw new InterruptedException(); } }
@Override public void checkCancelled() throws InterruptedException { if (Thread.interrupted() || isCancelRequested()) { throw new InterruptedException(); } }