public class ResponseTimeDecoration extends AbstractVertexDecoration
Constructor and Description |
---|
ResponseTimeDecoration(java.util.concurrent.TimeUnit executionTimeunit,
java.util.concurrent.TimeUnit displayTimeunit)
Creates a new response time decoration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createFormattedOutput()
Creates formatted output for this decoration.
|
double |
getAverageResponseTime()
Returns the average response time (in ms) registered by this decoration.
|
long |
getMaximalResponseTime()
Returns the maximal response time (in ms) registered by this decoration.
|
long |
getMinimalResponseTime()
Returns the minimal response time (in ms) registered by this decoration.
|
long |
getTotalResponseTime() |
void |
registerExecution(Execution execution)
Registers a given execution for the decorated vertex.
|
public ResponseTimeDecoration(java.util.concurrent.TimeUnit executionTimeunit, java.util.concurrent.TimeUnit displayTimeunit)
executionTimeunit
- The time unit which tells how to interpret the times of the executions.displayTimeunit
- The time unit used for printing the time value.public void registerExecution(Execution execution)
execution
- The execution to registerpublic long getMinimalResponseTime()
public long getMaximalResponseTime()
public double getAverageResponseTime()
public long getTotalResponseTime()
public java.lang.String createFormattedOutput()
AbstractVertexDecoration
createFormattedOutput
in class AbstractVertexDecoration
Copyright 2021 Kieker Project, http://kieker-monitoring.net