|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowInfo
A WorkflowInfo can represent either a snapshot of a running instance or an historical record of an instance. It can be thought of as the client view of a Workflow which is its big sister that is active and runs in the server. Note: Workflow extends WorkflowInfo LiteWorkflowInfo implements WorkflowInfo Note: Setter methods should be put in Workflow and not in WorkflowInfo
Method Summary | |
---|---|
Map |
getArguments()
The arguments are the parameters specified by the client when the job is run. |
double |
getBurnRate()
|
int |
getChildJobCount()
|
String |
getChildJobId(int i)
|
String |
getDeployedJobName()
The deployed job name minus the .jdl extension. |
String[] |
getExcludedNodeNames()
|
int |
getExcludedNodesCount()
|
String |
getGridId()
|
int |
getInitialQueuePos()
|
int |
getJobErrorCount()
|
String |
getJobID()
The unique jobid for this job. |
String |
getJobInstanceName()
The human readable name given to this instance. |
int |
getJobletCount()
|
int |
getJobletErrorCount()
|
String[] |
getJobletErrors()
|
int |
getJobletsCancelledCount()
|
int |
getJobletsCompletedCount()
|
int |
getJobletsFailedCount()
Retrieve number of joblets that have failed and will not be retried. |
int |
getJobletsRunningCount()
|
double |
getJobletsTotalCost()
|
long |
getJobletsTotalGCycles()
|
long |
getJobletsTotalWallTime()
|
int |
getJobletsWaitingCount()
Retrieve number of joblets waiting not including child jobs. |
String |
getMemo()
The memo field that allows job to communicate status to user via mmc or web portal. |
int |
getNodeErrorCount()
|
String[] |
getNodeErrors()
Access errors on suspected bad (excluded) nodes during the run. |
int |
getNodeProvisionErrorCount()
|
String[] |
getNodeProvisionErrors()
Access errors on nodes that that problems while automatically being provisioned. |
String |
getOriginWorkflowID()
|
String |
getParentWorkflowID()
|
long |
getPauseTimeMillis()
|
int |
getPercentComplete()
|
int |
getPriority()
|
String[] |
getProvisionBadNodeNames()
|
int |
getProvisionBadNodesCount()
|
int |
getQueuePos()
|
int |
getQueueSize()
|
long |
getQueueTimeMillis()
|
int |
getResourceCount()
More than one slot can be used, but resource only counted once. |
Map |
getResourceMap()
Returns a Map of resources that are currently in use by this workflow. |
long |
getStartAtTime()
|
int |
getState()
Retrieve Workflow state |
String |
getStateAnnotation()
Gets an optional annotation to the state. |
int |
getTerminationType()
Retrieve Terminatation Type. |
long |
getTimeCompletedMillis()
|
long |
getTimeElapsedMillis()
|
long |
getTimeStartedMillis()
|
long |
getTimeSubmittedMillis()
|
double |
getTotalBurnRate()
|
int |
getTotalChildJobCount()
|
double |
getTotalCost()
|
int |
getTotalExcludedNodesCount()
|
long |
getTotalGCycles()
|
int |
getTotalJobErrorCount()
|
int |
getTotalJobletCount()
|
int |
getTotalJobletErrorCount()
|
int |
getTotalJobletsRunningCount()
|
int |
getTotalNodeErrorCount()
|
int |
getTotalNodeProvisionErrorCount()
|
int |
getTotalProvisionBadNodesCount()
|
int |
getTotalResourceCount()
|
Map |
getTotalResourceMap()
Returns a Map of resources that are currently in use by this workflow and all child workflows. |
long |
getTotalWallTime()
|
String |
getUsername()
|
String |
getWorkflowError()
Get the reason why the job failed. |
boolean |
isActive()
Is the job currently active |
boolean |
isOriginWorkflow()
|
boolean |
isSystemJob()
|
boolean |
isTimeCompletedEstimated()
|
boolean |
isTimeStartedEstimated()
|
boolean |
isWaitingForResources()
|
Field Detail |
---|
static final String OBJECT_TYPE
static final String PREFIX
static final String ID
static final String DESC_ID
static final String PRIORITY
static final String DESC_PRIORITY
static final String PRIORITY_STRING
static final String DESC_PRIORITY_STRING
static final String INSTANCE_NAME
static final String DESC_INSTANCE_NAME
static final String MEMO
static final String DESC_MEMO
static final String START_TIME
static final String DESC_START_TIME
static final String START_AT_DATE
static final String DESC_START_AT_DATE
static final String PREEMPTIBLE
static final String DESC_PREEMPTIBLE
static final String PSPACE_SIZE
static final String JOBLET_SIZE
static final String DESC_JOBLET_SIZE
static final String DESC_PSPACE_SIZE
static final String JOBLET_COUNT
static final String DESC_JOBLET_COUNT
static final String JOBLETS_WAITING
static final String DESC_JOBLETS_WAITING
static final String JOBLETS_RUNNING
static final String DESC_JOBLETS_RUNNING
static final String JOBLETS_FAILED
static final String DESC_JOBLETS_FAILED
static final String JOBLETS_CANCELLED
static final String DESC_JOBLETS_CANCELLED
static final String JOBLETS_COMPLETE
static final String DESC_JOBLETS_COMPLETE
static final String NODES
static final String DESC_NODES
static final String NODES_COUNT
static final String DESC_NODES_COUNT
static final String COST
static final String DESC_COST
static final String COST_BURN_RATE
static final String DESC_COST_BURN_RATE
static final String TIME_SUBMITTED
static final String DESC_TIME_SUBMITTED
static final String TIME_STARTED
static final String DESC_TIME_STARTED
static final String TIME_ELAPSED_SECONDS
static final String DESC_TIME_ELAPSED_SECONDS
static final String TIME_QUEUED_SECONDS
static final String DESC_TIME_QUEUED_SECONDS
static final String TIME_ELAPSED_STRING
static final String DESC_TIME_ELAPSED_STRING
static final String TIME_COMPLETED
static final String DESC_TIME_COMPLETED
static final String MATCHING_RESOURCES
static final String DESC_MATCHING_RESOURCES
static final String STATE
static final String DESC_STATE
static final String STATE_STRING
static final String DESC_STATE_STRING
static final String PROBLEM_RESOURCES
static final String DESC_PROBLEM_RESOURCES
static final String PROBLEM_RESOURCES_COUNT
static final String DESC_PROBLEM_RESOURCES_COUNT
static final String ERRORS
static final String DESC_ERRORS
static final String TERMINATION_TYPE
static final String DESC_TERMINATION_TYPE
static final String ORIGIN_JOBID
static final String DESC_ORIGIN_JOBID
static final String PARENT_JOBID
static final String DESC_PARENT_JOBID
static final String PROVISION_COUNT
static final String DESC_PROVISION_COUNT
static final String PROVISION_PENDING_COUNT
static final String DESC_PROVISION_PENDING_COUNT
static final String PROVISION_PROBLEM_RESOURCES
static final String DESC_PROVISION_PROBLEM_RESOURCES
static final String PROVISION_AVOID_RESOURCES
static final String DESC_PROVISION_AVOID_RESOURCES
static final String PROVISION_PROBLEM_RESOURCES_COUNT
static final String DESC_PROVISION_PROBLEM_RESOURCES_COUNT
static final String[] DYNAMIC_FACTS
static final String[] WRITEABLE_DYNAMIC_FACTS
static final String[] stateString
static final int SUBMITTED_STATE
static final int QUEUED_STATE
static final int STARTING_STATE
static final int RUNNING_STATE
static final int PAUSED_STATE
static final int COMPLETING_STATE
static final int CANCELLING_STATE
static final int FAILING_STATE
static final int COMPLETED_STATE
static final int CANCELLED_STATE
static final int FAILED_STATE
static final int UNDEFINED_PRIORITY
static final int TERMINATION_TYPE_NORMAL
static final int CANCEL_TYPE_USER
static final int CANCEL_TYPE_ADMIN
static final int CANCEL_TYPE_JOB
static final int CANCEL_TYPE_TIMEOUT
static final int CANCEL_TYPE_CONTINUE
static final int FAILURE_TYPE_NORMAL
static final int FAILURE_TYPE_ACCEPT
static final String[] terminationTypeString
Method Detail |
---|
int getTerminationType()
int getState()
String getStateAnnotation()
boolean isActive()
String getJobInstanceName()
String getDeployedJobName()
String getMemo()
String getJobID()
String getUsername()
String getGridId()
long getTotalWallTime()
long getTotalGCycles()
double getTotalCost()
int getTotalResourceCount()
double getTotalBurnRate()
int getJobletCount()
int getJobletsRunningCount()
int getJobletsWaitingCount()
int getJobletsFailedCount()
int getJobletsCancelledCount()
int getJobletsCompletedCount()
int getTotalJobletCount()
int getTotalJobletsRunningCount()
int getTotalChildJobCount()
long getJobletsTotalWallTime()
long getJobletsTotalGCycles()
double getJobletsTotalCost()
double getBurnRate()
int getResourceCount()
Map getResourceMap()
Map getTotalResourceMap()
int getChildJobCount()
String getChildJobId(int i)
long getTimeSubmittedMillis()
long getTimeStartedMillis()
boolean isTimeStartedEstimated()
long getTimeCompletedMillis()
boolean isTimeCompletedEstimated()
long getTimeElapsedMillis()
int getPercentComplete()
int getPriority()
String getOriginWorkflowID()
boolean isOriginWorkflow()
boolean isWaitingForResources()
String getParentWorkflowID()
boolean isSystemJob()
Map getArguments()
String[] getJobletErrors()
int getJobletErrorCount()
int getTotalJobletErrorCount()
String getWorkflowError()
int getJobErrorCount()
int getTotalJobErrorCount()
String[] getNodeErrors()
int getNodeErrorCount()
int getTotalNodeErrorCount()
String[] getExcludedNodeNames()
int getExcludedNodesCount()
int getTotalExcludedNodesCount()
String[] getNodeProvisionErrors()
int getNodeProvisionErrorCount()
int getTotalNodeProvisionErrorCount()
String[] getProvisionBadNodeNames()
int getProvisionBadNodesCount()
int getTotalProvisionBadNodesCount()
long getStartAtTime()
long getPauseTimeMillis()
long getQueueTimeMillis()
int getQueuePos()
int getQueueSize()
int getInitialQueuePos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |