Class SystemHealthService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.reporting.SystemHealthService
-
public class SystemHealthService extends CayenneService
Provides service methods for the SystemHealth entity.- Since:
- 4.3.4
- See Also:
SystemHealth
-
-
Constructor Summary
Constructors Constructor Description SystemHealthService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemHealth
calculateSystemHealth(Date date, int hour)
Calculate a system health entry for a given date and hour of day-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
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
-
-