Class HTTPDiscoveryAgent

    • Constructor Detail

      • HTTPDiscoveryAgent

        public HTTPDiscoveryAgent()
    • Method Detail

      • getGroup

        public String getGroup()
      • serviceFailed

        public void serviceFailed​(DiscoveryEvent devent)
                           throws IOException
        Description copied from interface: DiscoveryAgent
        A process actively using a service may see it go down before the DiscoveryAgent notices the service's failure. That process can use this method to notify the DiscoveryAgent of the failure so that other listeners of this DiscoveryAgent can also be made aware of the failure.
        Specified by:
        serviceFailed in interface DiscoveryAgent
        Throws:
        IOException
      • setBrokerName

        public void setBrokerName​(String brokerName)
      • setGroup

        public void setGroup​(String group)
      • getRegistryURL

        public String getRegistryURL()
      • setRegistryURL

        public void setRegistryURL​(String discoveryRegistryURL)
      • getUpdateInterval

        public long getUpdateInterval()
      • setUpdateInterval

        public void setUpdateInterval​(long updateInterval)
      • isStartEmbeddRegistry

        public boolean isStartEmbeddRegistry()
      • setStartEmbeddRegistry

        public void setStartEmbeddRegistry​(boolean startEmbeddRegistry)