public class DurationStatsTable extends Object
| Constructor and Description |
|---|
DurationStatsTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String operation,
Duration duration,
boolean success)
Add an operation
|
List<DurationStats> |
getDurationStatistics()
Get the current duration statistics
|
void |
reset()
reset the values of the statistics.
|
public void add(String operation, Duration duration, boolean success)
operation - operation nameduration - durationpublic List<DurationStats> getDurationStatistics()
public void reset()
Copyright © 2018 CERN. All Rights Reserved.