Class SystemHealth

  • All Implemented Interfaces:
    IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

    public class SystemHealth
    extends _SystemHealth
    Provides an entity encapsulating a number of metrics describing system load and health.
    Since:
    4.3.4
    See Also:
    Serialized Form
    • Field Detail

      • START_DATE_FORMATTED_PROPERTY

        public static final String START_DATE_FORMATTED_PROPERTY
        Provides an auxiliary property to display the full date time when the system health period starts
        See Also:
        Constant Field Values
    • Constructor Detail

      • SystemHealth

        public SystemHealth()
    • Method Detail

      • getDateTimeString

        public String getDateTimeString()
        Return a string combining the date and hour characterising the system health.
        Returns:
        a string describing the date and hour that the system health relates to
      • getStartDateFormatted

        public String getStartDateFormatted()
        Return a string showing the date/time when the system health period started.
        Returns:
        a string showing the start date/time to which the system health entry relates