class SessionManager implements Closeable {

  public Future<?> submit(String timer, Runnable task) {
    if (timer != null) {
      return executors.submit(new RunnableWithTimer(timer, task));
    } else {
      return executors.submit(task);
    }
  }

  public  SessionManager(ExecutorFacade executors, SessionFactory factory, SessionRepository repository,
      SessionTracking tracking, SessionNotifier notifier, SessionConfiguration configuration, ClassLoader classLoader);

}