Interface TaskTraceListener
public interface TaskTraceListener
Optional read-only diagnostics. Callbacks must return promptly and never access disk.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidA node'sexecutestarted or finished.default voidOne selection pass finished.default voidvalidation(String node, int priority, String result, long nanos, Throwable error) One node was considered during selection.
-
Method Details
-
selected
One selection pass finished.- Parameters:
node- the selected node's name, or null when no node validatednanos- time the whole pass took
-
validation
One node was considered during selection.- Parameters:
result-"eligible","ineligible","error","disabled"or"lower_priority"(skipped without asking because a better node was found)nanos- time spent inshouldExecute(0 when it was not called)error- the exception thrown byshouldExecute, or null
-
execution
A node'sexecutestarted or finished.- Parameters:
stage-"started"or"finished"consumed- the node's return value (always false for"started")nanos- execution time (0 for"started")error- the exception thrown byexecuteorgetStatus, or null
-