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 TypeMethodDescriptionvoidstateChanged(String dependencyName, DependencyState newState) Method executed upon state change of a dependency.
-
Method Details
-
stateChanged
Method executed upon state change of a dependency.- Parameters:
dependencyName- - alias from microservice configurationnewState- - new state of the dependency
-