Class SystemHealth

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
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:
  • Field Details

    • 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:
  • Constructor Details

    • SystemHealth

      public SystemHealth()
  • Method Details

    • 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