public class ThreadRecorder extends Object
Facility to record block execution time on a single thread. Threads should not be spawned during the block execution as its processing will not be recorded as of the parent's execution time. // TODO : provide facilities to create a new ThreadRecorder using a parent so the slave threads can be connected to the parent's task.
Type | Name and description |
---|---|
long |
allocationRecordId() |
void |
closeRecord(ExecutionRecord executionRecord) |
static Recorder |
get() |
T |
record(ExecutionType executionType, Block<T> block, Property... properties) |