@Override
    public String toString() {
      return "registry[" + this.sessions.size() + " sessions]";
    }
Provide access to session subscriptions by sessionId.
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AmbariSubscriptionRegistry.java