ReactiveHealthContributorRegistry
@Deprecated public interface ReactiveHealthIndicatorRegistry
ReactiveHealthIndicators
.
Implementations must be thread-safe.
HealthIndicatorRegistry
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
get(String name)
Deprecated.
Returns the
ReactiveHealthIndicator registered with the given name . |
Map<String,ReactiveHealthIndicator> |
getAll()
Deprecated.
Returns a snapshot of the registered health indicators and their names.
|
void |
register(String name,
ReactiveHealthIndicator healthIndicator)
Deprecated.
Registers the given
ReactiveHealthIndicator , associating it with the given
name . |
ReactiveHealthIndicator |
unregister(String name)
Deprecated.
Unregisters the
ReactiveHealthIndicator previously registered with the
given name . |
void register(String name, ReactiveHealthIndicator healthIndicator)
ReactiveHealthIndicator
, associating it with the given
name
.name
- the name of the indicatorhealthIndicator
- the indicatorIllegalStateException
- if an indicator with the given name
is
already registered.ReactiveHealthIndicator unregister(String name)
ReactiveHealthIndicator
previously registered with the
given name
.name
- the name of the indicatornull
if no indicator was found in
the registry for the given name
.ReactiveHealthIndicator get(String name)
ReactiveHealthIndicator
registered with the given name
.name
- the name of the indicatornull
if no indicator was registered with
the given name
.Map<String,ReactiveHealthIndicator> getAll()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.