Package de.dlr.proseo.monitor.apimetrics
Class Metrics10Minutes
java.lang.Object
java.lang.Thread
de.dlr.proseo.monitor.apimetrics.MetricsCycleBase
de.dlr.proseo.monitor.apimetrics.Metrics10Minutes
- All Implemented Interfaces:
Runnable
This class calls the metric functions in 10 minute 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
ConstructorsConstructorDescriptionMetrics10Minutes(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
-
Metrics10Minutes
public Metrics10Minutes(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 10 minutes metrics calls- Specified by:
doCyclein classMetricsCycleBase
-