Class CacheHealth


  • public final class CacheHealth
    extends Object
    An indication of Cache health. Gives more information about health than just that related to provisioning.
    • Constructor Detail

      • CacheHealth

        public CacheHealth()
    • Method Detail

      • state

        public HealthStateType state()
        Get the state property: List of Cache health states.
        Returns:
        the state value.
      • withState

        public CacheHealth withState​(HealthStateType state)
        Set the state property: List of Cache health states.
        Parameters:
        state - the state value to set.
        Returns:
        the CacheHealth object itself.
      • statusDescription

        public String statusDescription()
        Get the statusDescription property: Describes explanation of state.
        Returns:
        the statusDescription value.
      • withStatusDescription

        public CacheHealth withStatusDescription​(String statusDescription)
        Set the statusDescription property: Describes explanation of state.
        Parameters:
        statusDescription - the statusDescription value to set.
        Returns:
        the CacheHealth object itself.
      • conditions

        public List<Condition> conditions()
        Get the conditions property: Outstanding conditions that need to be investigated and resolved.
        Returns:
        the conditions value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.