public static Future < ? > invoke ( final Invocation invocation , long millis ) { return executor . schedule ( invocation , millis , TimeUnit . MILLISECONDS ) ; }
Run the code in a new thread after a delay