Class GenerateMetricsTask
- java.lang.Object
-
- org.camunda.bpm.qa.performance.engine.loadgenerator.tasks.GenerateMetricsTask
-
-
Field Summary
Fields Modifier and Type Field Description static long
INTERVAL
The interval length in milliseconds.static int
ITERATION_PER_EXECUTION
The iteration count which indicates how often the metric generation is repeated per thread execution.static long
MS_COUNT_PER_YEAR
The milliseconds per year.protected ProcessEngineConfigurationImpl
processEngineConfiguration
The process engine configuration, which is used for the metric reporting.static ThreadLocal<Long>
START_TIME
The start time on which the thread should begin to generate metrics.static ThreadLocal<Integer>
THREAD_ID
The thread id which identifies the current thread.static AtomicInteger
THREAD_ID_GENERATOR
Generator to generate the thread id's.
-
Constructor Summary
Constructors Constructor Description GenerateMetricsTask(ProcessEngine processEngine)
-
-
-
Field Detail
-
ITERATION_PER_EXECUTION
public static final int ITERATION_PER_EXECUTION
The iteration count which indicates how often the metric generation is repeated per thread execution.- See Also:
- Constant Field Values
-
MS_COUNT_PER_YEAR
public static final long MS_COUNT_PER_YEAR
The milliseconds per year.- See Also:
- Constant Field Values
-
THREAD_ID_GENERATOR
public static final AtomicInteger THREAD_ID_GENERATOR
Generator to generate the thread id's.
-
THREAD_ID
public static final ThreadLocal<Integer> THREAD_ID
The thread id which identifies the current thread.
-
START_TIME
public static final ThreadLocal<Long> START_TIME
The start time on which the thread should begin to generate metrics. Each thread has his own start time, which is calculated with his id and the milliseconds per year. That means each thread generated data in a different year.
-
INTERVAL
public static final long INTERVAL
The interval length in milliseconds.- See Also:
- Constant Field Values
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
The process engine configuration, which is used for the metric reporting.
-
-
Constructor Detail
-
GenerateMetricsTask
public GenerateMetricsTask(ProcessEngine processEngine)
-
-