code: @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
          boolean canceled = super.cancel(mayInterruptIfRunning);
          if (canceled) {
              ((AbstractScheduledEventExecutor) executor()).removeScheduled(this);
          }
          return canceled;
      }
docs: {@inheritDoc}
  
  @param mayInterruptIfRunning this value has no effect in this implementation.