SHARE
TWEET

Untitled

a guest Jun 17th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ThreadPoolTaskScheduler s = new ThreadPoolTaskScheduler();
  2. s.initialize();
  3. s.setPoolSize(1);
  4. s.schedule(() -> System.out.println("a"), Date.from(LocalDateTime.of(2019, 6, 18, 0, 10, 40).toInstant(ZoneOffset.UTC)));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top