Package com.avoka.fc.core.entity
Class SystemHealth
java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
com.avoka.core.entity.BaseEntity
com.avoka.fc.core.entity.auto._SystemHealth
com.avoka.fc.core.entity.SystemHealth
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides an entity encapsulating a number of metrics describing system load and health.
- Since:
- 4.3.4
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Provides an auxiliary property to display the full date time when the system health period startsFields inherited from class com.avoka.fc.core.entity.auto._SystemHealth
ABANDON_COUNT, ABANDON_COUNT_PROPERTY, DELIVERY_COUNT, DELIVERY_COUNT_PROPERTY, DELIVERY_ERROR_STATE_COUNT, DELIVERY_ERROR_STATE_COUNT_PROPERTY, DELIVERY_RECEIPT_RENDER_COUNT, DELIVERY_RECEIPT_RENDER_COUNT_PROPERTY, ERROR_COLLABORATION_JOB_COUNT, ERROR_COLLABORATION_JOB_COUNT_PROPERTY, ERROR_COUNT, ERROR_COUNT_PROPERTY, ERROR_CRITICAL_COUNT, ERROR_CRITICAL_COUNT_PROPERTY, ERROR_DELIVERY_COUNT, ERROR_DELIVERY_COUNT_PROPERTY, ERROR_DYNAMIC_DATA_COUNT, ERROR_DYNAMIC_DATA_COUNT_PROPERTY, ERROR_EMAIL_COUNT, ERROR_EMAIL_COUNT_PROPERTY, ERROR_FW_SYNC_COUNT, ERROR_FW_SYNC_COUNT_PROPERTY, ERROR_GROOVY_COUNT, ERROR_GROOVY_COUNT_PROPERTY, ERROR_MANAGEMENT_COUNT, ERROR_MANAGEMENT_COUNT_PROPERTY, ERROR_PAYMENT_GATEWAY_COUNT, ERROR_PAYMENT_GATEWAY_COUNT_PROPERTY, ERROR_RECEIPT_RENDER_COUNT, ERROR_RECEIPT_RENDER_COUNT_PROPERTY, ERROR_RENDER_COUNT, ERROR_RENDER_COUNT_PROPERTY, ERROR_REST_SOAP_COUNT, ERROR_REST_SOAP_COUNT_PROPERTY, ERROR_SCHEDULED_JOB_COUNT, ERROR_SCHEDULED_JOB_COUNT_PROPERTY, ERROR_SECURITY_MANAGER_COUNT, ERROR_SECURITY_MANAGER_COUNT_PROPERTY, ERROR_SUBMISSION_COUNT, ERROR_SUBMISSION_COUNT_PROPERTY, ERROR_UNCLASSIFIED_COUNT, ERROR_UNCLASSIFIED_COUNT_PROPERTY, EVENT_COUNT, EVENT_COUNT_PROPERTY, FORM_RENDER_COUNT, FORM_RENDER_COUNT_PROPERTY, FW_SYNC_COUNT, FW_SYNC_COUNT_PROPERTY, GROOVY_SERVICE_COUNT, GROOVY_SERVICE_COUNT_PROPERTY, JOB_CREATED_COUNT, JOB_CREATED_COUNT_PROPERTY, SAVE_COUNT, SAVE_COUNT_PROPERTY, SCHEDULED_JOB_COUNT, SCHEDULED_JOB_COUNT_PROPERTY, SUBMISSION_COUNT, SUBMISSION_COUNT_PROPERTY, SYSTEM_HEALTH_DATE, SYSTEM_HEALTH_DATE_PROPERTY, SYSTEM_HEALTH_HOUR, SYSTEM_HEALTH_HOUR_PROPERTY, SYSTEM_HEALTH_OID_PK_COLUMN, USER_RECEIPT_RENDER_COUNT, USER_RECEIPT_RENDER_COUNT_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn a string combining the date and hour characterising the system health.Return a string showing the date/time when the system health period started.Methods inherited from class com.avoka.fc.core.entity.auto._SystemHealth
getAbandonCount, getDeliveryCount, getDeliveryErrorStateCount, getDeliveryReceiptRenderCount, getErrorCollaborationJobCount, getErrorCount, getErrorCriticalCount, getErrorDeliveryCount, getErrorDynamicDataCount, getErrorEmailCount, getErrorFwSyncCount, getErrorGroovyCount, getErrorManagementCount, getErrorPaymentGatewayCount, getErrorReceiptRenderCount, getErrorRenderCount, getErrorRestSoapCount, getErrorScheduledJobCount, getErrorSecurityManagerCount, getErrorSubmissionCount, getErrorUnclassifiedCount, getEventCount, getFormRenderCount, getFwSyncCount, getGroovyServiceCount, getJobCreatedCount, getSaveCount, getScheduledJobCount, getSubmissionCount, getSystemHealthDate, getSystemHealthHour, getUserReceiptRenderCount, setAbandonCount, setDeliveryCount, setDeliveryErrorStateCount, setDeliveryReceiptRenderCount, setErrorCollaborationJobCount, setErrorCount, setErrorCriticalCount, setErrorDeliveryCount, setErrorDynamicDataCount, setErrorEmailCount, setErrorFwSyncCount, setErrorGroovyCount, setErrorManagementCount, setErrorPaymentGatewayCount, setErrorReceiptRenderCount, setErrorRenderCount, setErrorRestSoapCount, setErrorScheduledJobCount, setErrorSecurityManagerCount, setErrorSubmissionCount, setErrorUnclassifiedCount, setEventCount, setFormRenderCount, setFwSyncCount, setGroovyServiceCount, setJobCreatedCount, setSaveCount, setScheduledJobCount, setSubmissionCount, setSystemHealthDate, setSystemHealthHour, setUserReceiptRenderCount
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
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
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
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
-