org.springframework.boot.actuate.health

Class AbstractHealthAggregator

  • java.lang.Object
    • org.springframework.boot.actuate.health.AbstractHealthAggregator
    • Constructor Detail

      • AbstractHealthAggregator

        public AbstractHealthAggregator()
    • Method Detail

      • aggregateStatus

        protected abstract Status aggregateStatus(List<Status> candidates)
        Return the single 'aggregate' status that should be used from the specified candidates.
        Parameters:
        candidates - the candidates
        Returns:
        a single status
      • aggregateDetails

        protected Map<String,Object> aggregateDetails(Map<String,Health> healths)
        Return the map of 'aggregate' details that should be used from the specified healths.
        Parameters:
        healths - the health instances to aggregate
        Returns:
        a map of details
        Since:
        1.3.1