Interface DependencyWatcherListener


public interface DependencyWatcherListener
Performs logic upon change of state of a dependency DependencyState in the service discovery system.
Since:
1.0.0
Author:
Marcin Grzejszczak
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stateChanged(String dependencyName, DependencyState newState)
    Method executed upon state change of a dependency.
  • Method Details

    • stateChanged

      void stateChanged(String dependencyName, DependencyState newState)
      Method executed upon state change of a dependency.
      Parameters:
      dependencyName - - alias from microservice configuration
      newState - - new state of the dependency