@Override
  public int getActiveSessions() {
    return getSessionCache().size();
  }
Returns the number of active sessions

@return number of sessions active
extensions/geode-modules/src/main/java/org/apache/geode/modules/session/catalina/DeltaSessionManager.java