Package de.dlr.proseo.monitor.apimetrics
Class MetricsHourly
java.lang.Object
java.lang.Thread
de.dlr.proseo.monitor.apimetrics.MetricsCycleBase
de.dlr.proseo.monitor.apimetrics.MetricsHourly
- All Implemented Interfaces:
Runnable
This class calls the metric functions in hourly cycle
- Author:
- Ernst Melchinger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class de.dlr.proseo.monitor.apimetrics.MetricsCycleBase
metrics, millisToWaitFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionMetricsHourly(MonitorConfiguration config, org.springframework.transaction.PlatformTransactionManager txManager, jakarta.persistence.EntityManager em) Constructor of a Metrics10Minutes instance -
Method Summary
Methods inherited from class de.dlr.proseo.monitor.apimetrics.MetricsCycleBase
runMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
MetricsHourly
public MetricsHourly(MonitorConfiguration config, org.springframework.transaction.PlatformTransactionManager txManager, jakarta.persistence.EntityManager em) Constructor of a Metrics10Minutes instance- Parameters:
config- The monitor configurationtxManager- The transaction managerem- The JPA entity manager
-
-
Method Details
-
doCycle
protected void doCycle()The hourly metrics calls- Specified by:
doCyclein classMetricsCycleBase
-