Class SystemHealthService


  • public class SystemHealthService
    extends CayenneService
    Provides service methods for the SystemHealth entity.
    Since:
    4.3.4
    See Also:
    SystemHealth
    • Constructor Detail

      • SystemHealthService

        public SystemHealthService()
    • Method Detail

      • calculateSystemHealth

        public SystemHealth calculateSystemHealth​(Date date,
                                                  int hour)
        Calculate a system health entry for a given date and hour of day
        Parameters:
        date - the date (required)
        hour - the hour of the day (1-24, where 1 is the first hour, i.e. midnight to 1am)
        Returns:
        the new system health entry