Class EurekaUpStatusResolver


  • @Singleton
    public class EurekaUpStatusResolver
    extends java.lang.Object
    Singleton that manages the state of @UpStatus/@DownStatus Supplier and emits status changes to @UpStatus Observable.
    • Constructor Detail

      • EurekaUpStatusResolver

        @Inject
        public EurekaUpStatusResolver​(EurekaClient client,
                                      com.netflix.eventbus.spi.EventBus eventBus)
        Parameters:
        client - the eurekaClient
        eventBus - the eventBus to publish eureka status change events
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • shutdown

        @PreDestroy
        public void shutdown()
      • getChangeCount

        public long getChangeCount()