public class ThreadsafeResultRecorder implements ResultRecorder
Primitive thread-safe abstract impl of interface ResultRecorder. Adds synchronization on append and flush.
interface ResultRecorderResultRecorder.DefaultImpls| Constructor and Description |
|---|
ThreadsafeResultRecorder()
Primitive thread-safe abstract impl of
interface ResultRecorder. Adds synchronization on append and flush. |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTrendResult(PerfTestExecution execution)
Append the new execution result
|
void |
doFlush(java.util.List<cz.encircled.jput.model.PerfTestExecution> data) |
void |
flush()
Flush appended data to the storage
|
appendTrendResult, flush, getSample, getUserDefinedEnvParams, subListpublic ThreadsafeResultRecorder()
Primitive thread-safe abstract impl of interface ResultRecorder. Adds synchronization on append and flush.
interface ResultRecorderpublic void appendTrendResult(PerfTestExecution execution)
Append the new execution result
public void flush()
Flush appended data to the storage
public void doFlush(java.util.List<cz.encircled.jput.model.PerfTestExecution> data)