public void run() { delegateInstance.cancel(); }
/** * Cancels the {@code Timer} and removes any scheduled tasks. If there is a * currently running task it is not affected. No more tasks may be scheduled * on this {@code Timer}. Subsequent calls do nothing. */ public void cancel() { impl.cancel(); }