public static ScheduledFuture<?> runWithSchedule(long delayMillis,
            Runnable runnable) {
        return newSingleScheduledThreadPool()
                .schedule(
                        buildRunnableWithLogging("runWithSchedule", runnable,
                                delayMillis),
                        delayMillis, TimeUnit.MILLISECONDS);
    }
public static ScheduledFuture < ? > runWithSchedule ( long delayMillis , Runnable runnable ) { return newSingleScheduledThreadPool ( ) . schedule ( buildRunnableWithLogging ( "runWithSchedule" , runnable , delayMillis ) , delayMillis , TimeUnit . MILLISECONDS ) ; }
Run with schedule scheduled future.

@param delayMillis the delay millis
@param runnable    the runnable
@return the scheduled future