Interface HealthIndicatorRegistry

    • Method Detail

      • unregister

        HealthIndicator unregister​(String name)
        Unregisters the HealthIndicator previously registered with the given name.
        Parameters:
        name - the name of the indicator
        Returns:
        the unregistered indicator, or null if no indicator was found in the registry for the given name.
      • get

        HealthIndicator get​(String name)
        Returns the HealthIndicator registered with the given name.
        Parameters:
        name - the name of the indicator
        Returns:
        the health indicator, or null if no indicator was registered with the given name.
      • getAll

        Map<String,​HealthIndicatorgetAll()
        Returns a snapshot of the registered health indicators and their names. The contents of the map do not reflect subsequent changes to the registry.
        Returns:
        the snapshot of registered health indicators