@Nonnull
    @Override
    public <T> Future<T> submit(@Nonnull Callable<T> task) {
        submitted.mark();
        try {
            return delegate.submit(new InstrumentedCallable<>(task));
        } catch (RejectedExecutionException e) {
            rejected.mark();
            throw e;
        }
    }
@ Nonnull @ Override public < T > Future < T > submit ( @ Nonnull Callable < T > task ) { submitted . mark ( ) ; try { return delegate . submit ( new InstrumentedCallable < > ( task ) ) ; } catch ( RejectedExecutionException e ) { rejected . mark ( ) ; throw e ; } }
{@inheritDoc}