接口 CompositeReactiveHealthContributor
- 所有超级接口:
Iterable<NamedContributor<ReactiveHealthContributor>>,NamedContributors<ReactiveHealthContributor>,ReactiveHealthContributor
public interface CompositeReactiveHealthContributor
extends ReactiveHealthContributor, NamedContributors<ReactiveHealthContributor>
A
ReactiveHealthContributor that is composed of other
ReactiveHealthContributor instances.- 从以下版本开始:
- 2.2.0
- 作者:
- Phillip Webb
- 另请参阅:
-
方法概要
静态方法修饰符和类型方法说明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.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator从接口继承的方法 org.springframework.boot.actuate.health.NamedContributors
getContributor, stream
-
方法详细资料
-
fromMap
static CompositeReactiveHealthContributor fromMap(Map<String, ? extends ReactiveHealthContributor> map) Factory method that will create aCompositeReactiveHealthContributorfrom the specified map.- 参数:
map- the source map- 返回:
- 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.- 类型参数:
V- the value type- 参数:
map- the source mapvalueAdapter- function used to adapt the map value- 返回:
- a composite health contributor instance
-