@Nullable
    public SessionSubscriptionInfo getSubscriptions(String sessionId) {
      return this.sessions.get(sessionId);
    }
Provide access to session subscriptions by sessionId.
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AmbariSubscriptionRegistry.java