currently using scheduledexecutorservice
task every 45 minutes (for infinity).
executor.scheduleatfixedrate(new runnable() { public void run() { ... }, 10, 45 * 60, timeunit.seconds);
i wondering if there proper way know how long until next iteration of executor?
my un-proper way add timer , resetting every iterator of executor feels bad.
Comments
Post a Comment