public int getCacheLimit() {
    return this.cacheLimit;
  }
Return the maximum number of entries for the resolved destination cache.
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AmbariSubscriptionRegistry.java