122123124125126127128129130131132
} } }); // Register the future if (killswitch != null) killswitch.register(submit); } /** * Executes the given function once after the given delay (delay in the * sense of time until the first execution happens).
154155156157158159160161162163164
} } }); // Register the future if (killswitch != null) killswitch.register(submit); } /** * Puts the current thread to sleep for some time, without the need for any try/catch block. *