public interface CompositeHealthContributor extends HealthContributor, NamedContributors<HealthContributor>
HealthContributor
that is composed of other HealthContributor
instances.CompositeHealth
,
CompositeReactiveHealthContributor
Modifier and Type | Method and Description |
---|---|
static CompositeHealthContributor |
fromMap(Map<String,? extends HealthContributor> map)
Factory method that will create a
CompositeHealthContributor from the
specified map. |
static <V> CompositeHealthContributor |
fromMap(Map<String,V> map,
Function<V,? extends HealthContributor> valueAdapter)
Factory method that will create a
CompositeHealthContributor from the
specified map. |
getContributor, stream
forEach, iterator, spliterator
static CompositeHealthContributor fromMap(Map<String,? extends HealthContributor> map)
CompositeHealthContributor
from the
specified map.map
- the source mapstatic <V> CompositeHealthContributor fromMap(Map<String,V> map, Function<V,? extends HealthContributor> valueAdapter)
CompositeHealthContributor
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.