ReactiveHealthContributorRegistry@Deprecated
public interface ReactiveHealthIndicatorRegistry
ReactiveHealthIndicators.
Implementations must be thread-safe.
HealthIndicatorRegistry| Modifier and Type | Method and Description |
|---|---|
ReactiveHealthIndicator |
get(java.lang.String name)
Deprecated.
Returns the
ReactiveHealthIndicator registered with the given name. |
java.util.Map<java.lang.String,ReactiveHealthIndicator> |
getAll()
Deprecated.
Returns a snapshot of the registered health indicators and their names.
|
void |
register(java.lang.String name,
ReactiveHealthIndicator healthIndicator)
Deprecated.
Registers the given
ReactiveHealthIndicator, associating it with the given
name. |
ReactiveHealthIndicator |
unregister(java.lang.String name)
Deprecated.
Unregisters the
ReactiveHealthIndicator previously registered with the
given name. |
void register(java.lang.String name,
ReactiveHealthIndicator healthIndicator)
ReactiveHealthIndicator, associating it with the given
name.name - the name of the indicatorhealthIndicator - the indicatorjava.lang.IllegalStateException - if an indicator with the given name is
already registered.ReactiveHealthIndicator unregister(java.lang.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(java.lang.String name)
ReactiveHealthIndicator registered with the given name.name - the name of the indicatornull if no indicator was registered with
the given name.java.util.Map<java.lang.String,ReactiveHealthIndicator> getAll()