Package org.springframework.cloud.zookeeper.discovery.watcher
package org.springframework.cloud.zookeeper.discovery.watcher
-
ClassDescriptionThis Dependency Watcher will verify the presence of dependencies upon startup and registers listeners to changing of state of dependencies during the application's lifecycle.Implementations of this interface are required to register dependency registration hooks on startup and their cleaning upon application context shutdown.Represents a dependency's Zookeeper connection state.Informs all the DependencyWatcherListeners that a dependency's state has changed.Provides hooks for observing dependency lifecycle in Zookeeper.Performs logic upon change of state of a dependency
DependencyStatein the service discovery system.