public interface CompositeReactiveHealthContributor extends ReactiveHealthContributor, NamedContributors<ReactiveHealthContributor>
ReactiveHealthContributor
that is composed of other
ReactiveHealthContributor
instances.CompositeHealth
,
CompositeHealthContributor
Modifier and Type | Method and Description |
---|---|
static CompositeReactiveHealthContributor |
fromMap(Map<String,? extends ReactiveHealthContributor> map)
Factory method that will create a
CompositeReactiveHealthContributor from
the specified map. |
static <V> CompositeReactiveHealthContributor |
fromMap(Map<String,V> map,
Function<V,? extends ReactiveHealthContributor> valueAdapter)
Factory method that will create a
CompositeReactiveHealthContributor from
the specified map. |
adapt
getContributor, stream
forEach, iterator, spliterator
static CompositeReactiveHealthContributor fromMap(Map<String,? extends ReactiveHealthContributor> map)
CompositeReactiveHealthContributor
from
the specified map.map
- the source mapstatic <V> CompositeReactiveHealthContributor fromMap(Map<String,V> map, Function<V,? extends ReactiveHealthContributor> valueAdapter)
CompositeReactiveHealthContributor
from
the specified map.V
- the value typemap
- the source mapvalueAdapter
- function used to adapt the map valueCopyright © 2021 Pivotal Software, Inc.. All rights reserved.