Interface CompositeReactiveHealthContributor
- All Superinterfaces:
Iterable<ReactiveHealthContributors.Entry>, ReactiveHealthContributor, ReactiveHealthContributors
public non-sealed interface CompositeReactiveHealthContributor
extends ReactiveHealthContributor, ReactiveHealthContributors
A
ReactiveHealthContributor that is composed of other
ReactiveHealthContributor instances.- Since:
- 4.0.0
- Author:
- Phillip Webb
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ReactiveHealthContributors
ReactiveHealthContributors.Entry -
Method Summary
Modifier and TypeMethodDescriptiondefault CompositeHealthContributorReturn this reactive contributor as a standard blockingHealthContributor.fromMap(Map<String, ? extends ReactiveHealthContributor> map) Factory method that will create aCompositeReactiveHealthContributorfrom the specified map.static <V> CompositeReactiveHealthContributorfromMap(Map<String, V> map, Function<V, ? extends ReactiveHealthContributor> valueAdapter) Factory method that will create aCompositeReactiveHealthContributorfrom the specified map.Methods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface ReactiveHealthContributors
asHealthContributors, getContributor, iterator, stream
-
Method Details
-
asHealthContributor
Description copied from interface:ReactiveHealthContributorReturn this reactive contributor as a standard blockingHealthContributor.- Specified by:
asHealthContributorin interfaceReactiveHealthContributor- Returns:
- a blocking health contributor
-
fromMap
static CompositeReactiveHealthContributor fromMap(Map<String, ? extends ReactiveHealthContributor> map) Factory method that will create aCompositeReactiveHealthContributorfrom the specified map.- Parameters:
map- the source map- Returns:
- a composite health contributor instance
-
fromMap
static <V> CompositeReactiveHealthContributor fromMap(Map<String, V> map, Function<V, ? extends ReactiveHealthContributor> valueAdapter) Factory method that will create aCompositeReactiveHealthContributorfrom the specified map.- Type Parameters:
V- the value type- Parameters:
map- the source mapvalueAdapter- function used to adapt the map value- Returns:
- a composite health contributor instance
-