@ Override public synchronized < V > ManagedScheduledFutureTask < V > schedule ( Callable < V > callable , long delay , TimeUnit unit ) { ScheduledTask < V > task = getNewScheduledTaskFor ( callable , false ) ; ScheduledFuture < V > future = ( ( ScheduledExecutorService ) executor ) . schedule ( task . callable , delay , unit ) ; task . submittedScheduledTask ( future ) ; return task ; }
Creates and executes a ScheduledFuture that becomes enabled after the given delay .