@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class TimelineObserver extends java.lang.Object
Render pipeline timeline processes execution
Type | Name and description |
---|---|
static java.lang.String |
DEF_FILE_NAME |
Constructor and description |
---|
TimelineObserver
(java.nio.file.Path file) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
append(java.lang.StringBuilder template, TraceRecord record) |
|
boolean |
enableMetrics() |
|
protected java.lang.String |
labelString(TraceRecord record) |
|
void |
onFlowComplete() Save the pending processes and close the trace file |
|
void |
onFlowStart(Session session) Create the trace file, in file already existing with the same name it is "rolled" to a new file |
|
void |
onProcessCached(TaskHandler handler, TraceRecord trace) |
|
void |
onProcessComplete(TaskHandler handler, TraceRecord trace) This method is invoked when a process run completes |
|
void |
onProcessCreate(TaskProcessor process) |
|
void |
onProcessStart(TaskHandler handler, TraceRecord trace) This method is invoked when a process run is going to start |
|
void |
onProcessSubmit(TaskHandler handler, TraceRecord trace) This method is invoked before a process run is going to be submitted |
|
protected java.lang.String |
readTemplate() |
|
protected java.lang.StringBuilder |
renderData() |
|
protected void |
renderHtml() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Save the pending processes and close the trace file
Create the trace file, in file already existing with the same name it is "rolled" to a new file
This method is invoked when a process run completes
This method is invoked when a process run is going to start
This method is invoked before a process run is going to be submitted
Groovy Documentation