class RepositoryBackedSession {

  public boolean isExpired() {
    int maxInactiveInterval = sessionData.getMaxInactiveInterval();
    if (maxInactiveInterval <= 0) {
      return false;
    }
    long instanceOfExpiring = sessionData.getLastAccessedTime() + TimeUnit.SECONDS.toMillis(maxInactiveInterval);
    return instanceOfExpiring < System.currentTimeMillis();
  }

  public  RepositoryBackedSession(SessionData sessionData, SessionManager manager, SessionFactory factory);
  protected  RepositoryBackedSession(RepositoryBackedSession linked);

}