TaskManager requires a ClaimCheck to cancel a task and to report on it's position within the queue.
A ClaimCheck represents a single task or a composite set of Tasks (in the instance of Chain and Stage tasks).
Should a client application need to persist a ClaimCheck, it should store the output of toString(). This UUID can later be used to cancel or check on status of a task with the TaskManager
@see com.level3.meanwhile.TaskManager#cancel
@see com.level3.meanwhile.TaskManager#getQueuePosition
@see com.level3.meanwhile.TaskManager#isQueued
@author Jonathan Griggs
{ "containerId" : "e890d827e802934a29c97d7e9e3c96a55ca049e519ab0c28be8020621a0a3750", "env" : { "SYSLOG_HOST_PORT" : "10.99.0.1:514" }, "goal" : "START", "job" : { #... see the definition of Job }, "ports" : { "http" : { "externalPort" : 8080, "internalPort" : 8080, "protocol" : "tcp" }, "http-admin" : { "externalPort" : 8081, "internalPort" : 8081, "protocol" : "tcp" } }, "state" : "RUNNING", "throttled" : "NO" },
|
|
|
|
|
|