Class AsyncRetryingServiceDiscoveryAnnouncer

    • Constructor Detail

      • AsyncRetryingServiceDiscoveryAnnouncer

        public AsyncRetryingServiceDiscoveryAnnouncer​(java.util.List<ServiceDiscoveryAnnouncer> serviceDiscoveryAnnouncers,
                                                      long serviceDiscoveryRegistrationRetryMS)
    • Method Detail

      • register

        public void register()
        Registers each ServiceDiscoveryAnnouncer in serviceDiscoveryAnnouncers. If a service discovery announcer fails to register, it is added to the retry queue and registration will be retried asynchronously in a separate thread.
        Specified by:
        register in interface ServiceDiscoveryAnnouncer