Package org.jppf.server.debug
Class DebugHelper
java.lang.Object
org.jppf.server.debug.DebugHelper
Collection of utility methods to help investigate issues.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ServerTask>addResults(String jobUuid, Collection<ServerTask> results) Add the specified completed tasks for the specified job uuid.static List<ServerTask>checkResults(String jobUuid, Collection<ServerTask> results) Check whether the specified tasks for the specified job have already completed.static voidclearResults(String jobUuid) Remove all results for the specified job.static StringShow all the mapped results.
-
Constructor Details
-
DebugHelper
public DebugHelper()
-
-
Method Details
-
addResults
Add the specified completed tasks for the specified job uuid.- Parameters:
jobUuid- the job uuid.results- the completed tasks.- Returns:
- a list of tasks that were already stored in this helper (duplicates).
-
clearResults
Remove all results for the specified job.- Parameters:
jobUuid- the job uuid.
-
showResults
Show all the mapped results.- Returns:
- a string representing all the entries in the multimap.
-
checkResults
Check whether the specified tasks for the specified job have already completed.- Parameters:
jobUuid- the job uuid.results- the completed tasks.- Returns:
- a list of tasks that were already stored in this helper (duplicates).
-