Class EventmeshRebalanceImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int caculateRedirectNum​(java.lang.String eventMeshName, java.lang.String group, java.lang.String purpose, java.util.Map<java.lang.String,​java.lang.Integer> clientDistributionMap)  
      void doRebalance()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Constructor Detail

      • EventmeshRebalanceImpl

        public EventmeshRebalanceImpl​(EventMeshTCPServer eventMeshTCPServer)
    • Method Detail

      • caculateRedirectNum

        public int caculateRedirectNum​(java.lang.String eventMeshName,
                                       java.lang.String group,
                                       java.lang.String purpose,
                                       java.util.Map<java.lang.String,​java.lang.Integer> clientDistributionMap)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception