@Override public boolean cancel() throws IgniteCheckedException { super.cancel(); if (isDone()) return false; thrFactory.interruptAllThreads(); try { get(); return false; } catch (IgniteFutureCancelledCheckedException e) { return true; } catch (IgniteCheckedException e) { return false; } } };
@Override public boolean cancel() throws IgniteCheckedException { super.cancel(); if (isDone()) return false; runFut.cancel(); threadFactory.interruptAllThreads(); return onCancelled(); } };