public ScheduledFuture < ? > schedule ( Runnable command , TemporalAccessor time ) { ensureWaiterRunning ( ) ; log ( logLevel , "schedule(%s, %s)" , command , time ) ; RunnableScheduledFutureImpl future = new RunnableScheduledFutureImpl ( command , Instant . from ( time ) , null , false ) ; delayQueue . add ( future ) ; return future ; }
Schedule command to be run not earlier than time .