protected final Future<?> submit(Runnable runnable) {
return submit(runnable, 0);
}
protected final Future<?> submit(Runnable runnable, long seconds) {
Session session = controller.getSession();
ScheduledExecutorService executor = session.getExecutor();
return executor.schedule(runnable, seconds, TimeUnit.SECONDS);
}