public class OpenDreamsJobSession extends Object implements tecgraf.openbus.DRMAA.v2_0.JobSessionOperations, Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
TIMEOUT_NO_WAIT
Constante para espera sem timeout.
|
static long |
TIMEOUT_WAIT_FOREVER
Constante para timeout infinito.
|
| Constructor and Description |
|---|
OpenDreamsJobSession(String sessionName,
String contact,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
String |
contact()
This method returns the contact value that was used in the
#createJobSession. |
tecgraf.openbus.DRMAA.v2_0.JobSession |
corbaObjectReference() |
static List<Field> |
getAllFields(List<Field> fields,
Class<?> type) |
tecgraf.openbus.DRMAA.v2_0.JobArray |
getJobArray(String jobArrayId) |
tecgraf.openbus.DRMAA.v2_0.Job[] |
getJobs(tecgraf.openbus.DRMAA.v2_0.JobInfo filter) |
String[] |
jobCategories()
UNSUPPORTED This method provides the list of valid job category names
which can be used for the
jobCategory attribute in a
JobTemplate instance |
void |
onResume()
Método utilizado para reiniciar serviços da sessão, caso seja necessário.
|
tecgraf.openbus.DRMAA.v2_0.JobArray |
runBulkJobs(tecgraf.openbus.DRMAA.v2_0.JobTemplate jobTemplate,
int beginIndex,
int endIndex,
int step,
int maxParallel) |
tecgraf.openbus.DRMAA.v2_0.Job |
runJob(tecgraf.openbus.DRMAA.v2_0.JobTemplate jobTemplate) |
String |
sessionName()
This method returns the session name, a unique session identifier passed
through
#createJobSession. |
tecgraf.openbus.DRMAA.v2_0.Job |
waitAnyStarted(tecgraf.openbus.DRMAA.v2_0.Job[] jobs,
long timeout)
The waitAnyStarted method blocks until any of the jobs referenced in the
jobs parameter entered one of the "Started" states.
|
tecgraf.openbus.DRMAA.v2_0.Job |
waitAnyTerminated(tecgraf.openbus.DRMAA.v2_0.Job[] jobs,
long timeout)
The waitAnyTerminated method blocks until any of the jobs referenced in
the jobs parameter entered one of the "Terminated" states.
|
public static long TIMEOUT_WAIT_FOREVER
public static long TIMEOUT_NO_WAIT
public void onResume()
#openJobSession(String).public String contact()
#createJobSession. This attribute is read-only.contact in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationspublic String sessionName()
#createJobSession. This attribute is
read-only.sessionName in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationspublic String[] jobCategories()
jobCategory attribute in a
JobTemplate instancejobCategories in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationspublic tecgraf.openbus.DRMAA.v2_0.Job[] getJobs(tecgraf.openbus.DRMAA.v2_0.JobInfo filter)
getJobs in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationspublic tecgraf.openbus.DRMAA.v2_0.JobArray getJobArray(String jobArrayId) throws tecgraf.openbus.DRMAA.v2_0.InvalidArgumentException, tecgraf.openbus.DRMAA.v2_0.InternalException
getJobArray in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationstecgraf.openbus.DRMAA.v2_0.InvalidArgumentExceptiontecgraf.openbus.DRMAA.v2_0.InternalExceptionpublic tecgraf.openbus.DRMAA.v2_0.Job runJob(tecgraf.openbus.DRMAA.v2_0.JobTemplate jobTemplate)
throws tecgraf.openbus.DRMAA.v2_0.DeniedByDrmsException,
tecgraf.openbus.DRMAA.v2_0.InvalidArgumentException,
tecgraf.openbus.DRMAA.v2_0.InternalException
runJob in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationstecgraf.openbus.DRMAA.v2_0.DeniedByDrmsExceptiontecgraf.openbus.DRMAA.v2_0.InternalExceptiontecgraf.openbus.DRMAA.v2_0.InvalidArgumentExceptionpublic tecgraf.openbus.DRMAA.v2_0.JobSession corbaObjectReference()
throws csbase.exception.OperationFailureException,
ServantNotActive,
WrongPolicy
csbase.exception.OperationFailureExceptionServantNotActiveWrongPolicypublic tecgraf.openbus.DRMAA.v2_0.JobArray runBulkJobs(tecgraf.openbus.DRMAA.v2_0.JobTemplate jobTemplate,
int beginIndex,
int endIndex,
int step,
int maxParallel)
throws tecgraf.openbus.DRMAA.v2_0.DeniedByDrmsException,
tecgraf.openbus.DRMAA.v2_0.InvalidArgumentException,
tecgraf.openbus.DRMAA.v2_0.InternalException
runBulkJobs in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationstecgraf.openbus.DRMAA.v2_0.DeniedByDrmsExceptiontecgraf.openbus.DRMAA.v2_0.InvalidArgumentExceptiontecgraf.openbus.DRMAA.v2_0.InternalExceptionpublic tecgraf.openbus.DRMAA.v2_0.Job waitAnyStarted(tecgraf.openbus.DRMAA.v2_0.Job[] jobs,
long timeout)
throws tecgraf.openbus.DRMAA.v2_0.UnsupportedOperationException
waitAnyStarted in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationstecgraf.openbus.DRMAA.v2_0.UnsupportedOperationExceptionpublic tecgraf.openbus.DRMAA.v2_0.Job waitAnyTerminated(tecgraf.openbus.DRMAA.v2_0.Job[] jobs,
long timeout)
throws tecgraf.openbus.DRMAA.v2_0.TimeoutException,
tecgraf.openbus.DRMAA.v2_0.DeniedByDrmsException,
tecgraf.openbus.DRMAA.v2_0.InternalException
waitAnyTerminated in interface tecgraf.openbus.DRMAA.v2_0.JobSessionOperationstecgraf.openbus.DRMAA.v2_0.InternalExceptiontecgraf.openbus.DRMAA.v2_0.TimeoutExceptiontecgraf.openbus.DRMAA.v2_0.DeniedByDrmsExceptionCopyright © 2017. All rights reserved.