class SessionManager implements Closeable {

  public void deleteAsync(final String sessionId, final boolean expired) {
    Runnable task = new Runnable() {
      @Override
      public void run() {
        try {
          delete(sessionId, expired);
        } catch (Exception e) { // NOSONAR Any exception can occur here
          logger.error("Exception occured while deleting sessionId '{}'", sessionId, e);
        }
      }
    };
    submit("delete-async", task);
  }

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

}