Package org.globus.gram.internal
Interface GRAMConstants
- All Known Implementing Classes:
GramJob
,GramJobRun
public interface GRAMConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Cancel a jobstatic final int
Signal the job manager to clean up after the completion of the job if the job RSL contained the (two-phase = yes) relation.static final int
Signal the job manager to wait an additional number of seconds (specified by an integer value string as the signal's argument) before timing out a two-phase job commit.static final int
Signal the job manager to commence with a job submission if the job request was accompanied by the (two_state=yes) RSL attribute.static final int
Change the priority of a jobstatic final int
Resume a previously suspended jobstatic final int
Signal the job manager to verify that streamed I/O has been completely received.static final int
Signal the job manager to change the way it is currently handling standard output and/or standard error.static final int
Signal the job manager to stop managing the current job and terminate.static final int
Suspend a jobstatic final int
The job has received resources and the application is executing.static final int
A mask of all job states.static final int
The job completed successfullystatic final int
static final int
The job is waiting for resources to become available to run.static final int
The job manager is staging in files to run the job.static final int
The job manager is staging out files generated by the job.static final int
The job has been suspended.static final int
The job has not been submitted to the scheduler yet, pending the reception of the GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST signal from a client.
-
Field Details
-
STATUS_PENDING
static final int STATUS_PENDINGThe job is waiting for resources to become available to run.- See Also:
-
STATUS_ACTIVE
static final int STATUS_ACTIVEThe job has received resources and the application is executing.- See Also:
-
STATUS_FAILED
static final int STATUS_FAILED- See Also:
-
STATUS_DONE
static final int STATUS_DONEThe job completed successfully- See Also:
-
STATUS_SUSPENDED
static final int STATUS_SUSPENDEDThe job has been suspended. Resources which were allocated for this job may have been released due to some scheduler-specific reason.- See Also:
-
STATUS_UNSUBMITTED
static final int STATUS_UNSUBMITTEDThe job has not been submitted to the scheduler yet, pending the reception of the GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST signal from a client.- See Also:
-
STATUS_STAGE_IN
static final int STATUS_STAGE_INThe job manager is staging in files to run the job.- See Also:
-
STATUS_STAGE_OUT
static final int STATUS_STAGE_OUTThe job manager is staging out files generated by the job.- See Also:
-
STATUS_ALL
static final int STATUS_ALLA mask of all job states.- See Also:
-
SIGNAL_CANCEL
static final int SIGNAL_CANCELCancel a job- See Also:
-
SIGNAL_SUSPEND
static final int SIGNAL_SUSPENDSuspend a job- See Also:
-
SIGNAL_RESUME
static final int SIGNAL_RESUMEResume a previously suspended job- See Also:
-
SIGNAL_PRIORITY
static final int SIGNAL_PRIORITYChange the priority of a job- See Also:
-
SIGNAL_COMMIT_REQUEST
static final int SIGNAL_COMMIT_REQUESTSignal the job manager to commence with a job submission if the job request was accompanied by the (two_state=yes) RSL attribute.- See Also:
-
SIGNAL_COMMIT_EXTEND
static final int SIGNAL_COMMIT_EXTENDSignal the job manager to wait an additional number of seconds (specified by an integer value string as the signal's argument) before timing out a two-phase job commit.- See Also:
-
SIGNAL_STDIO_UPDATE
static final int SIGNAL_STDIO_UPDATESignal the job manager to change the way it is currently handling standard output and/or standard error. The argument for this signal is an RSL containing new stdout, stderr, stdout_position, stderr_position, or remote_io_url relations.- See Also:
-
SIGNAL_STDIO_SIZE
static final int SIGNAL_STDIO_SIZESignal the job manager to verify that streamed I/O has been completely received. The argument to this signal contains the number of bytes of stdout and stderr received, seperated by a space. The reply to this signal will be a SUCCESS message if these matched the amount sent by the job manager. Otherwise, an error reply indicating GLOBUS_GRAM_PROTOCOL_ERROR_STDIO_SIZE is returned. If standard output and standard error are merged, only one number should be sent as an argument to this signal. An argument of -1 for either stream size indicates that the client is not interested in the size of that stream.- See Also:
-
SIGNAL_STOP_MANAGER
static final int SIGNAL_STOP_MANAGERSignal the job manager to stop managing the current job and terminate. The job continues to run as normal. The job manager will send a state change callback with the job status being FAILED and the error GLOBUS_GRAM_PROTOCOL_ERROR_JM_STOPPED.- See Also:
-
SIGNAL_COMMIT_END
static final int SIGNAL_COMMIT_ENDSignal the job manager to clean up after the completion of the job if the job RSL contained the (two-phase = yes) relation.- See Also:
-