~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to doc/javadocs/org/ggf/drmaa/Session.html

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc (build 1.4.2_04) on Wed Apr 13 20:01:10 MEST 2005 -->
 
6
<TITLE>
 
7
Session
 
8
</TITLE>
 
9
 
 
10
<META NAME="keywords" CONTENT="org.ggf.drmaa.Session interface">
 
11
 
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 
13
 
 
14
<SCRIPT type="text/javascript">
 
15
function windowTitle()
 
16
{
 
17
    parent.document.title="Session";
 
18
}
 
19
</SCRIPT>
 
20
 
 
21
</HEAD>
 
22
 
 
23
<BODY BGCOLOR="white" onload="windowTitle();">
 
24
 
 
25
 
 
26
<!-- ========= START OF TOP NAVBAR ======= -->
 
27
<A NAME="navbar_top"><!-- --></A>
 
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
30
<TR>
 
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
32
<A NAME="navbar_top_firstrow"><!-- --></A>
 
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
34
  <TR ALIGN="center" VALIGN="top">
 
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
42
  </TR>
 
43
</TABLE>
 
44
</TD>
 
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
46
</EM>
 
47
</TD>
 
48
</TR>
 
49
 
 
50
<TR>
 
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
52
&nbsp;<A HREF="../../../org/ggf/drmaa/ResumeInconsistentStateException.html" title="class in org.ggf.drmaa"><B>PREV CLASS</B></A>&nbsp;
 
53
&nbsp;<A HREF="../../../org/ggf/drmaa/SessionException.html" title="class in org.ggf.drmaa"><B>NEXT CLASS</B></A></FONT></TD>
 
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
55
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
56
&nbsp;<A HREF="Session.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
57
&nbsp;<SCRIPT type="text/javascript">
 
58
  <!--
 
59
  if(window==top) {
 
60
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
61
  }
 
62
  //-->
 
63
</SCRIPT>
 
64
<NOSCRIPT>
 
65
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
66
</NOSCRIPT>
 
67
 
 
68
</FONT></TD>
 
69
</TR>
 
70
<TR>
 
71
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
72
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
74
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
75
</TR>
 
76
</TABLE>
 
77
<A NAME="skip-navbar_top"></A>
 
78
<!-- ========= END OF TOP NAVBAR ========= -->
 
79
 
 
80
<HR>
 
81
<!-- ======== START OF CLASS DATA ======== -->
 
82
<H2>
 
83
<FONT SIZE="-1">
 
84
org.ggf.drmaa</FONT>
 
85
<BR>
 
86
Interface Session</H2>
 
87
<DL>
 
88
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../com/sun/grid/drmaa/SessionImpl.html" title="class in com.sun.grid.drmaa">SessionImpl</A></DD>
 
89
</DL>
 
90
<HR>
 
91
<DL>
 
92
<DT>public interface <B>Session</B></DL>
 
93
 
 
94
<P>
 
95
<P>This interface represents a the operations available for interacting with the
 
96
 DRM.  In DRMAA, (almost) all DRM interaction occur within the context of a
 
97
 session.  The spec also strongly recommends that a DRMAA implementation not
 
98
 allow concurrent sessions.  Since DRMAA has no facility for user authentication
 
99
 or authorization, most DRMAA implementations will likely only support one
 
100
 session per implementation instance.</p>
 
101
 <p>In order to use a Session, it must first be initialized.  Once initialized it
 
102
 is the responsibility of the programmer to ensure that the session also be
 
103
 explicitly terminated.  Otherwise, session artifacts may be left behind on
 
104
 the client and/or server.  A handy way to make sure the Session is terminated is
 
105
 to set up a shutdown hook to call the exit() method on the active session.</p>
 
106
 <p>To get a Session implementation appropriate for the DRM in use, one uses the
 
107
 SessionFactory.getSession() method.</p>
 
108
 <p>Example:</p>
 
109
 <pre>public static void main (String[] args) throws Exception {
 
110
   SessionFactory factory = SessionFactory.getFactory ();
 
111
   Session session = factory.getSession ();
 
112
 
 
113
   try {
 
114
      session.init (null);
 
115
      JobTemplate jt = session.createJobTemplate ();
 
116
      jt.setRemoteCommand ("sleeper.sh");
 
117
      jt.setArgs (new String[] {"5"});
 
118
 
 
119
      String id = session.runJob (jt);
 
120
 
 
121
      session.deleteJobTemplate (jt);
 
122
 
 
123
      while (session.getJobProgramStatus (id) != Session.RUNNING) {
 
124
         Thread.sleep (1000);
 
125
      }
 
126
 
 
127
      System.out.println ("Job " + id + " is now running.");
 
128
 
 
129
      session.control (id, Session.SUSPEND);
 
130
      Thread.sleep (1000);
 
131
      session.control (id, Session.RELEASE);
 
132
 
 
133
      JobInfo info = session.wait (id, Session.TIMEOUT_WAIT_FOREVER);
 
134
 
 
135
      System.out.println ("Job " + info.getJobId () + " exited with status: " +
 
136
                          info.getExitStatus ());
 
137
 
 
138
      session.exit ();
 
139
   }
 
140
   catch (DrmaaException e) {
 
141
      System.out.println ("Error: " + e.getMessage ());
 
142
   }
 
143
 }
 
144
 </pre>
 
145
<P>
 
146
 
 
147
<P>
 
148
<DL>
 
149
<DT><B>Since:</B></DT>
 
150
  <DD>0.5</DD>
 
151
<DT><B>Author:</B></DT>
 
152
  <DD>dan.templeton@sun.com</DD>
 
153
<DT><B>See Also:</B><DD><CODE>Runtime.addShutdownHook(java.lang.Thread)</CODE>, 
 
154
<A HREF="../../../org/ggf/drmaa/SessionFactory.html" title="class in org.ggf.drmaa"><CODE>SessionFactory</CODE></A>, 
 
155
<a
 
156
 href="http://gridengine.sunsource.net/project/gridengine/howto/drmaa_java.html">Grid
 
157
 Engine DRMAA Java[TM] Language Binding HowTo</a></DL>
 
158
<HR>
 
159
 
 
160
<P>
 
161
<!-- ======== NESTED CLASS SUMMARY ======== -->
 
162
 
 
163
 
 
164
<!-- =========== FIELD SUMMARY =========== -->
 
165
 
 
166
<A NAME="field_summary"><!-- --></A>
 
167
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
168
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
169
<TD COLSPAN=2><FONT SIZE="+2">
 
170
<B>Field Summary</B></FONT></TD>
 
171
</TR>
 
172
<TR BGCOLOR="white" CLASS="TableRowColor">
 
173
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
174
<CODE>static&nbsp;int</CODE></FONT></TD>
 
175
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#DONE">DONE</A></B></CODE>
 
176
 
 
177
<BR>
 
178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job has finished normally</TD>
 
179
</TR>
 
180
<TR BGCOLOR="white" CLASS="TableRowColor">
 
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
182
<CODE>static&nbsp;int</CODE></FONT></TD>
 
183
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#FAILED">FAILED</A></B></CODE>
 
184
 
 
185
<BR>
 
186
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job finished, but terminated abnormally</TD>
 
187
</TR>
 
188
<TR BGCOLOR="white" CLASS="TableRowColor">
 
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
190
<CODE>static&nbsp;int</CODE></FONT></TD>
 
191
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#HOLD">HOLD</A></B></CODE>
 
192
 
 
193
<BR>
 
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Put the job on hold</TD>
 
195
</TR>
 
196
<TR BGCOLOR="white" CLASS="TableRowColor">
 
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
198
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 
199
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#JOB_IDS_SESSION_ALL">JOB_IDS_SESSION_ALL</A></B></CODE>
 
200
 
 
201
<BR>
 
202
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All jobs submitted during this DRMAA session</TD>
 
203
</TR>
 
204
<TR BGCOLOR="white" CLASS="TableRowColor">
 
205
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
206
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 
207
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#JOB_IDS_SESSION_ANY">JOB_IDS_SESSION_ANY</A></B></CODE>
 
208
 
 
209
<BR>
 
210
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Any job from the session</TD>
 
211
</TR>
 
212
<TR BGCOLOR="white" CLASS="TableRowColor">
 
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
214
<CODE>static&nbsp;int</CODE></FONT></TD>
 
215
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#QUEUED_ACTIVE">QUEUED_ACTIVE</A></B></CODE>
 
216
 
 
217
<BR>
 
218
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is queued and active</TD>
 
219
</TR>
 
220
<TR BGCOLOR="white" CLASS="TableRowColor">
 
221
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
222
<CODE>static&nbsp;int</CODE></FONT></TD>
 
223
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#RELEASE">RELEASE</A></B></CODE>
 
224
 
 
225
<BR>
 
226
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Release the hold on the job</TD>
 
227
</TR>
 
228
<TR BGCOLOR="white" CLASS="TableRowColor">
 
229
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
230
<CODE>static&nbsp;int</CODE></FONT></TD>
 
231
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#RESUME">RESUME</A></B></CODE>
 
232
 
 
233
<BR>
 
234
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resume the job</TD>
 
235
</TR>
 
236
<TR BGCOLOR="white" CLASS="TableRowColor">
 
237
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
238
<CODE>static&nbsp;int</CODE></FONT></TD>
 
239
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#RUNNING">RUNNING</A></B></CODE>
 
240
 
 
241
<BR>
 
242
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is running</TD>
 
243
</TR>
 
244
<TR BGCOLOR="white" CLASS="TableRowColor">
 
245
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
246
<CODE>static&nbsp;int</CODE></FONT></TD>
 
247
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#SUSPEND">SUSPEND</A></B></CODE>
 
248
 
 
249
<BR>
 
250
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suspend the job</TD>
 
251
</TR>
 
252
<TR BGCOLOR="white" CLASS="TableRowColor">
 
253
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
254
<CODE>static&nbsp;int</CODE></FONT></TD>
 
255
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#SYSTEM_ON_HOLD">SYSTEM_ON_HOLD</A></B></CODE>
 
256
 
 
257
<BR>
 
258
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is queued and in system hold</TD>
 
259
</TR>
 
260
<TR BGCOLOR="white" CLASS="TableRowColor">
 
261
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
262
<CODE>static&nbsp;int</CODE></FONT></TD>
 
263
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#SYSTEM_SUSPENDED">SYSTEM_SUSPENDED</A></B></CODE>
 
264
 
 
265
<BR>
 
266
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is system suspended</TD>
 
267
</TR>
 
268
<TR BGCOLOR="white" CLASS="TableRowColor">
 
269
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
270
<CODE>static&nbsp;int</CODE></FONT></TD>
 
271
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#TERMINATE">TERMINATE</A></B></CODE>
 
272
 
 
273
<BR>
 
274
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kill the job</TD>
 
275
</TR>
 
276
<TR BGCOLOR="white" CLASS="TableRowColor">
 
277
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
278
<CODE>static&nbsp;long</CODE></FONT></TD>
 
279
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#TIMEOUT_NO_WAIT">TIMEOUT_NO_WAIT</A></B></CODE>
 
280
 
 
281
<BR>
 
282
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return immediately if no result is available</TD>
 
283
</TR>
 
284
<TR BGCOLOR="white" CLASS="TableRowColor">
 
285
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
286
<CODE>static&nbsp;long</CODE></FONT></TD>
 
287
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#TIMEOUT_WAIT_FOREVER">TIMEOUT_WAIT_FOREVER</A></B></CODE>
 
288
 
 
289
<BR>
 
290
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wait indefinitely for a result</TD>
 
291
</TR>
 
292
<TR BGCOLOR="white" CLASS="TableRowColor">
 
293
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
294
<CODE>static&nbsp;int</CODE></FONT></TD>
 
295
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#UNDETERMINED">UNDETERMINED</A></B></CODE>
 
296
 
 
297
<BR>
 
298
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job status cannot be determined</TD>
 
299
</TR>
 
300
<TR BGCOLOR="white" CLASS="TableRowColor">
 
301
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
302
<CODE>static&nbsp;int</CODE></FONT></TD>
 
303
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#USER_ON_HOLD">USER_ON_HOLD</A></B></CODE>
 
304
 
 
305
<BR>
 
306
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is queued and in user hold</TD>
 
307
</TR>
 
308
<TR BGCOLOR="white" CLASS="TableRowColor">
 
309
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
310
<CODE>static&nbsp;int</CODE></FONT></TD>
 
311
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#USER_SUSPENDED">USER_SUSPENDED</A></B></CODE>
 
312
 
 
313
<BR>
 
314
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is user suspended</TD>
 
315
</TR>
 
316
<TR BGCOLOR="white" CLASS="TableRowColor">
 
317
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
318
<CODE>static&nbsp;int</CODE></FONT></TD>
 
319
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#USER_SYSTEM_ON_HOLD">USER_SYSTEM_ON_HOLD</A></B></CODE>
 
320
 
 
321
<BR>
 
322
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is queued and in user and system hold</TD>
 
323
</TR>
 
324
<TR BGCOLOR="white" CLASS="TableRowColor">
 
325
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
326
<CODE>static&nbsp;int</CODE></FONT></TD>
 
327
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#USER_SYSTEM_SUSPENDED">USER_SYSTEM_SUSPENDED</A></B></CODE>
 
328
 
 
329
<BR>
 
330
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Job is user suspended</TD>
 
331
</TR>
 
332
</TABLE>
 
333
&nbsp;
 
334
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
335
 
 
336
 
 
337
<!-- ========== METHOD SUMMARY =========== -->
 
338
 
 
339
<A NAME="method_summary"><!-- --></A>
 
340
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
341
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
342
<TD COLSPAN=2><FONT SIZE="+2">
 
343
<B>Method Summary</B></FONT></TD>
 
344
</TR>
 
345
<TR BGCOLOR="white" CLASS="TableRowColor">
 
346
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
347
<CODE>&nbsp;void</CODE></FONT></TD>
 
348
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#control(java.lang.String, int)">control</A></B>(java.lang.String&nbsp;jobId,
 
349
        int&nbsp;action)</CODE>
 
350
 
 
351
<BR>
 
352
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hold, release, suspend, resume, or kill the job identified by <i>jobId</i>.</TD>
 
353
</TR>
 
354
<TR BGCOLOR="white" CLASS="TableRowColor">
 
355
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
356
<CODE>&nbsp;<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A></CODE></FONT></TD>
 
357
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#createJobTemplate()">createJobTemplate</A></B>()</CODE>
 
358
 
 
359
<BR>
 
360
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a new job template.</TD>
 
361
</TR>
 
362
<TR BGCOLOR="white" CLASS="TableRowColor">
 
363
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
364
<CODE>&nbsp;void</CODE></FONT></TD>
 
365
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#deleteJobTemplate(org.ggf.drmaa.JobTemplate)">deleteJobTemplate</A></B>(<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A>&nbsp;jt)</CODE>
 
366
 
 
367
<BR>
 
368
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deallocate a job template.</TD>
 
369
</TR>
 
370
<TR BGCOLOR="white" CLASS="TableRowColor">
 
371
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
372
<CODE>&nbsp;void</CODE></FONT></TD>
 
373
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#exit()">exit</A></B>()</CODE>
 
374
 
 
375
<BR>
 
376
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disengage from DRM and allow the DRMAA implementation to perform
 
377
 any necessary internal cleanup.</TD>
 
378
</TR>
 
379
<TR BGCOLOR="white" CLASS="TableRowColor">
 
380
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
381
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 
382
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#getContact()">getContact</A></B>()</CODE>
 
383
 
 
384
<BR>
 
385
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If called before init(), this method returns a comma delimited String containing
 
386
 the contact Strings available from the default DRMAA
 
387
 implementation, one element per DRM system available.</TD>
 
388
</TR>
 
389
<TR BGCOLOR="white" CLASS="TableRowColor">
 
390
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
391
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 
392
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#getDrmaaImplementation()">getDrmaaImplementation</A></B>()</CODE>
 
393
 
 
394
<BR>
 
395
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If called before init(), this method returns a comma delimited list of DRMAA
 
396
 implementations, one element for each DRMAA implementation provided.</TD>
 
397
</TR>
 
398
<TR BGCOLOR="white" CLASS="TableRowColor">
 
399
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
400
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 
401
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#getDrmSystem()">getDrmSystem</A></B>()</CODE>
 
402
 
 
403
<BR>
 
404
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If called before init(), this method returns a comma delimited list of DRM
 
405
 systems, one element per DRM system implementation provided.</TD>
 
406
</TR>
 
407
<TR BGCOLOR="white" CLASS="TableRowColor">
 
408
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
409
<CODE>&nbsp;int</CODE></FONT></TD>
 
410
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#getJobProgramStatus(java.lang.String)">getJobProgramStatus</A></B>(java.lang.String&nbsp;jobId)</CODE>
 
411
 
 
412
<BR>
 
413
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the program status of the job identified by jobId.</TD>
 
414
</TR>
 
415
<TR BGCOLOR="white" CLASS="TableRowColor">
 
416
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
417
<CODE>&nbsp;<A HREF="../../../org/ggf/drmaa/Version.html" title="class in org.ggf.drmaa">Version</A></CODE></FONT></TD>
 
418
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#getVersion()">getVersion</A></B>()</CODE>
 
419
 
 
420
<BR>
 
421
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a Version object containing the major and minor version numbers of the
 
422
 DRMAA library.</TD>
 
423
</TR>
 
424
<TR BGCOLOR="white" CLASS="TableRowColor">
 
425
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
426
<CODE>&nbsp;void</CODE></FONT></TD>
 
427
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#init(java.lang.String)">init</A></B>(java.lang.String&nbsp;contact)</CODE>
 
428
 
 
429
<BR>
 
430
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the DRMAA implementation.</TD>
 
431
</TR>
 
432
<TR BGCOLOR="white" CLASS="TableRowColor">
 
433
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
434
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
 
435
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#runBulkJobs(org.ggf.drmaa.JobTemplate, int, int, int)">runBulkJobs</A></B>(<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A>&nbsp;jt,
 
436
            int&nbsp;start,
 
437
            int&nbsp;end,
 
438
            int&nbsp;incr)</CODE>
 
439
 
 
440
<BR>
 
441
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Submit a set of parametric jobs, dependent on the implied loop index,
 
442
 each with attributes defined in the job template, <i>jt</i>.</TD>
 
443
</TR>
 
444
<TR BGCOLOR="white" CLASS="TableRowColor">
 
445
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
446
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 
447
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#runJob(org.ggf.drmaa.JobTemplate)">runJob</A></B>(<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A>&nbsp;jt)</CODE>
 
448
 
 
449
<BR>
 
450
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Submit a job with attributes defined in the job template, <i>jt</i>.</TD>
 
451
</TR>
 
452
<TR BGCOLOR="white" CLASS="TableRowColor">
 
453
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
454
<CODE>&nbsp;void</CODE></FONT></TD>
 
455
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#synchronize(java.util.List, long, boolean)">synchronize</A></B>(java.util.List&nbsp;jobIds,
 
456
            long&nbsp;timeout,
 
457
            boolean&nbsp;dispose)</CODE>
 
458
 
 
459
<BR>
 
460
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wait until all jobs specified by <i>jobIds</i> have finished execution.</TD>
 
461
</TR>
 
462
<TR BGCOLOR="white" CLASS="TableRowColor">
 
463
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
464
<CODE>&nbsp;<A HREF="../../../org/ggf/drmaa/JobInfo.html" title="class in org.ggf.drmaa">JobInfo</A></CODE></FONT></TD>
 
465
<TD><CODE><B><A HREF="../../../org/ggf/drmaa/Session.html#wait(java.lang.String, long)">wait</A></B>(java.lang.String&nbsp;jobId,
 
466
     long&nbsp;timeout)</CODE>
 
467
 
 
468
<BR>
 
469
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will wait for a job with <i>jobId</i> to finish execution or fail.</TD>
 
470
</TR>
 
471
</TABLE>
 
472
&nbsp;
 
473
<P>
 
474
 
 
475
<!-- ============ FIELD DETAIL =========== -->
 
476
 
 
477
<A NAME="field_detail"><!-- --></A>
 
478
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
479
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
480
<TD COLSPAN=1><FONT SIZE="+2">
 
481
<B>Field Detail</B></FONT></TD>
 
482
</TR>
 
483
</TABLE>
 
484
 
 
485
<A NAME="SUSPEND"><!-- --></A><H3>
 
486
SUSPEND</H3>
 
487
<PRE>
 
488
public static final int <B>SUSPEND</B></PRE>
 
489
<DL>
 
490
<DD>Suspend the job
 
491
<P>
 
492
<DL>
 
493
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.SUSPEND">Constant Field Values</A></DL>
 
494
</DL>
 
495
<HR>
 
496
 
 
497
<A NAME="RESUME"><!-- --></A><H3>
 
498
RESUME</H3>
 
499
<PRE>
 
500
public static final int <B>RESUME</B></PRE>
 
501
<DL>
 
502
<DD>Resume the job
 
503
<P>
 
504
<DL>
 
505
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.RESUME">Constant Field Values</A></DL>
 
506
</DL>
 
507
<HR>
 
508
 
 
509
<A NAME="HOLD"><!-- --></A><H3>
 
510
HOLD</H3>
 
511
<PRE>
 
512
public static final int <B>HOLD</B></PRE>
 
513
<DL>
 
514
<DD>Put the job on hold
 
515
<P>
 
516
<DL>
 
517
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.HOLD">Constant Field Values</A></DL>
 
518
</DL>
 
519
<HR>
 
520
 
 
521
<A NAME="RELEASE"><!-- --></A><H3>
 
522
RELEASE</H3>
 
523
<PRE>
 
524
public static final int <B>RELEASE</B></PRE>
 
525
<DL>
 
526
<DD>Release the hold on the job
 
527
<P>
 
528
<DL>
 
529
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.RELEASE">Constant Field Values</A></DL>
 
530
</DL>
 
531
<HR>
 
532
 
 
533
<A NAME="TERMINATE"><!-- --></A><H3>
 
534
TERMINATE</H3>
 
535
<PRE>
 
536
public static final int <B>TERMINATE</B></PRE>
 
537
<DL>
 
538
<DD>Kill the job
 
539
<P>
 
540
<DL>
 
541
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.TERMINATE">Constant Field Values</A></DL>
 
542
</DL>
 
543
<HR>
 
544
 
 
545
<A NAME="JOB_IDS_SESSION_ALL"><!-- --></A><H3>
 
546
JOB_IDS_SESSION_ALL</H3>
 
547
<PRE>
 
548
public static final java.lang.String <B>JOB_IDS_SESSION_ALL</B></PRE>
 
549
<DL>
 
550
<DD>All jobs submitted during this DRMAA session
 
551
<P>
 
552
<DL>
 
553
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.JOB_IDS_SESSION_ALL">Constant Field Values</A></DL>
 
554
</DL>
 
555
<HR>
 
556
 
 
557
<A NAME="JOB_IDS_SESSION_ANY"><!-- --></A><H3>
 
558
JOB_IDS_SESSION_ANY</H3>
 
559
<PRE>
 
560
public static final java.lang.String <B>JOB_IDS_SESSION_ANY</B></PRE>
 
561
<DL>
 
562
<DD>Any job from the session
 
563
<P>
 
564
<DL>
 
565
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.JOB_IDS_SESSION_ANY">Constant Field Values</A></DL>
 
566
</DL>
 
567
<HR>
 
568
 
 
569
<A NAME="TIMEOUT_WAIT_FOREVER"><!-- --></A><H3>
 
570
TIMEOUT_WAIT_FOREVER</H3>
 
571
<PRE>
 
572
public static final long <B>TIMEOUT_WAIT_FOREVER</B></PRE>
 
573
<DL>
 
574
<DD>Wait indefinitely for a result
 
575
<P>
 
576
<DL>
 
577
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.TIMEOUT_WAIT_FOREVER">Constant Field Values</A></DL>
 
578
</DL>
 
579
<HR>
 
580
 
 
581
<A NAME="TIMEOUT_NO_WAIT"><!-- --></A><H3>
 
582
TIMEOUT_NO_WAIT</H3>
 
583
<PRE>
 
584
public static final long <B>TIMEOUT_NO_WAIT</B></PRE>
 
585
<DL>
 
586
<DD>Return immediately if no result is available
 
587
<P>
 
588
<DL>
 
589
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.TIMEOUT_NO_WAIT">Constant Field Values</A></DL>
 
590
</DL>
 
591
<HR>
 
592
 
 
593
<A NAME="UNDETERMINED"><!-- --></A><H3>
 
594
UNDETERMINED</H3>
 
595
<PRE>
 
596
public static final int <B>UNDETERMINED</B></PRE>
 
597
<DL>
 
598
<DD>Job status cannot be determined
 
599
<P>
 
600
<DL>
 
601
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.UNDETERMINED">Constant Field Values</A></DL>
 
602
</DL>
 
603
<HR>
 
604
 
 
605
<A NAME="QUEUED_ACTIVE"><!-- --></A><H3>
 
606
QUEUED_ACTIVE</H3>
 
607
<PRE>
 
608
public static final int <B>QUEUED_ACTIVE</B></PRE>
 
609
<DL>
 
610
<DD>Job is queued and active
 
611
<P>
 
612
<DL>
 
613
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.QUEUED_ACTIVE">Constant Field Values</A></DL>
 
614
</DL>
 
615
<HR>
 
616
 
 
617
<A NAME="SYSTEM_ON_HOLD"><!-- --></A><H3>
 
618
SYSTEM_ON_HOLD</H3>
 
619
<PRE>
 
620
public static final int <B>SYSTEM_ON_HOLD</B></PRE>
 
621
<DL>
 
622
<DD>Job is queued and in system hold
 
623
<P>
 
624
<DL>
 
625
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.SYSTEM_ON_HOLD">Constant Field Values</A></DL>
 
626
</DL>
 
627
<HR>
 
628
 
 
629
<A NAME="USER_ON_HOLD"><!-- --></A><H3>
 
630
USER_ON_HOLD</H3>
 
631
<PRE>
 
632
public static final int <B>USER_ON_HOLD</B></PRE>
 
633
<DL>
 
634
<DD>Job is queued and in user hold
 
635
<P>
 
636
<DL>
 
637
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.USER_ON_HOLD">Constant Field Values</A></DL>
 
638
</DL>
 
639
<HR>
 
640
 
 
641
<A NAME="USER_SYSTEM_ON_HOLD"><!-- --></A><H3>
 
642
USER_SYSTEM_ON_HOLD</H3>
 
643
<PRE>
 
644
public static final int <B>USER_SYSTEM_ON_HOLD</B></PRE>
 
645
<DL>
 
646
<DD>Job is queued and in user and system hold
 
647
<P>
 
648
<DL>
 
649
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.USER_SYSTEM_ON_HOLD">Constant Field Values</A></DL>
 
650
</DL>
 
651
<HR>
 
652
 
 
653
<A NAME="RUNNING"><!-- --></A><H3>
 
654
RUNNING</H3>
 
655
<PRE>
 
656
public static final int <B>RUNNING</B></PRE>
 
657
<DL>
 
658
<DD>Job is running
 
659
<P>
 
660
<DL>
 
661
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.RUNNING">Constant Field Values</A></DL>
 
662
</DL>
 
663
<HR>
 
664
 
 
665
<A NAME="SYSTEM_SUSPENDED"><!-- --></A><H3>
 
666
SYSTEM_SUSPENDED</H3>
 
667
<PRE>
 
668
public static final int <B>SYSTEM_SUSPENDED</B></PRE>
 
669
<DL>
 
670
<DD>Job is system suspended
 
671
<P>
 
672
<DL>
 
673
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.SYSTEM_SUSPENDED">Constant Field Values</A></DL>
 
674
</DL>
 
675
<HR>
 
676
 
 
677
<A NAME="USER_SUSPENDED"><!-- --></A><H3>
 
678
USER_SUSPENDED</H3>
 
679
<PRE>
 
680
public static final int <B>USER_SUSPENDED</B></PRE>
 
681
<DL>
 
682
<DD>Job is user suspended
 
683
<P>
 
684
<DL>
 
685
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.USER_SUSPENDED">Constant Field Values</A></DL>
 
686
</DL>
 
687
<HR>
 
688
 
 
689
<A NAME="USER_SYSTEM_SUSPENDED"><!-- --></A><H3>
 
690
USER_SYSTEM_SUSPENDED</H3>
 
691
<PRE>
 
692
public static final int <B>USER_SYSTEM_SUSPENDED</B></PRE>
 
693
<DL>
 
694
<DD>Job is user suspended
 
695
<P>
 
696
<DL>
 
697
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.USER_SYSTEM_SUSPENDED">Constant Field Values</A></DL>
 
698
</DL>
 
699
<HR>
 
700
 
 
701
<A NAME="DONE"><!-- --></A><H3>
 
702
DONE</H3>
 
703
<PRE>
 
704
public static final int <B>DONE</B></PRE>
 
705
<DL>
 
706
<DD>Job has finished normally
 
707
<P>
 
708
<DL>
 
709
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.DONE">Constant Field Values</A></DL>
 
710
</DL>
 
711
<HR>
 
712
 
 
713
<A NAME="FAILED"><!-- --></A><H3>
 
714
FAILED</H3>
 
715
<PRE>
 
716
public static final int <B>FAILED</B></PRE>
 
717
<DL>
 
718
<DD>Job finished, but terminated abnormally
 
719
<P>
 
720
<DL>
 
721
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.ggf.drmaa.Session.FAILED">Constant Field Values</A></DL>
 
722
</DL>
 
723
 
 
724
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
725
 
 
726
 
 
727
<!-- ============ METHOD DETAIL ========== -->
 
728
 
 
729
<A NAME="method_detail"><!-- --></A>
 
730
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
731
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
732
<TD COLSPAN=1><FONT SIZE="+2">
 
733
<B>Method Detail</B></FONT></TD>
 
734
</TR>
 
735
</TABLE>
 
736
 
 
737
<A NAME="init(java.lang.String)"><!-- --></A><H3>
 
738
init</H3>
 
739
<PRE>
 
740
public void <B>init</B>(java.lang.String&nbsp;contact)
 
741
          throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
742
<DL>
 
743
<DD><p>Initialize the DRMAA implementation.
 
744
 <i>contact</i> is an implementation-dependent string that may be used to specify
 
745
 which DRM system to use.  This routine must be called before any
 
746
 other DRMAA calls, except for getVersion(), getDRMSystem(),
 
747
 getDRMAAImplementation(), or getContact().</p>
 
748
 If contact is <CODE>null</CODE>, the default DRM system is used,
 
749
 provided there is only one DRMAA implementation in the module.
 
750
 If there is more than one DRMAA implementation in the module, init() throws a
 
751
 NoDefaultContactStringSelectedException.
 
752
 init() should be called only once, by only one of the threads. The main thread is
 
753
 recommended.  A call to init() by another thread or additional calls to init()
 
754
 by the same thread with throw a SessionAlreadyActiveException.
 
755
<P>
 
756
<DD><DL>
 
757
<DT><B>Parameters:</B><DD><CODE>contact</CODE> - implementation-dependent string that may be used to specify
 
758
 which DRM system to use.  If null, will select the default DRM if there
 
759
 is only one DRMAA implementation available.
 
760
<DT><B>Throws:</B>
 
761
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be be one of the following:
 
762
 <UL>
 
763
 <LI>InvalidContactStringException</LI>
 
764
 <LI>AlreadyActiveSessionException</LI>
 
765
 <LI>DefaultContactStringException</LI>
 
766
 <LI>NoDefaultContactStringSelectedException</LI>
 
767
 </UL></DL>
 
768
</DD>
 
769
</DL>
 
770
<HR>
 
771
 
 
772
<A NAME="exit()"><!-- --></A><H3>
 
773
exit</H3>
 
774
<PRE>
 
775
public void <B>exit</B>()
 
776
          throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
777
<DL>
 
778
<DD>Disengage from DRM and allow the DRMAA implementation to perform
 
779
 any necessary internal cleanup.
 
780
 This routine ends the current DRMAA session but doesn't affect any
 
781
 jobs (e.g., queued and running jobs remain queued and running).
 
782
 exit() should be called only once, by only one of the threads.  Additional
 
783
 calls to exit() beyond the first will throw a NoActiveSessionException.
 
784
<P>
 
785
<DD><DL>
 
786
 
 
787
<DT><B>Throws:</B>
 
788
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
789
 <UL>
 
790
 <LI>DrmsExitException</LI>
 
791
 <LI>NoActiveSessionException</LI>
 
792
 </UL></DL>
 
793
</DD>
 
794
</DL>
 
795
<HR>
 
796
 
 
797
<A NAME="createJobTemplate()"><!-- --></A><H3>
 
798
createJobTemplate</H3>
 
799
<PRE>
 
800
public <A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A> <B>createJobTemplate</B>()
 
801
                              throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
802
<DL>
 
803
<DD>Get a new job template.  The job template is used to set the
 
804
 environment for jobs to be submitted.  Once the job template has been created,
 
805
 it should also be deleted (via deleteJobTemplate()) when no longer needed.
 
806
 Failure to do so may result in a memory leak.
 
807
<P>
 
808
<DD><DL>
 
809
 
 
810
<DT><B>Returns:</B><DD>a blank JobTemplate object
 
811
<DT><B>Throws:</B>
 
812
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
813
 <UL>
 
814
 <LI>DrmCommunicationException</LI>
 
815
 </UL><DT><B>See Also:</B><DD><A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa"><CODE>JobTemplate</CODE></A></DL>
 
816
</DD>
 
817
</DL>
 
818
<HR>
 
819
 
 
820
<A NAME="deleteJobTemplate(org.ggf.drmaa.JobTemplate)"><!-- --></A><H3>
 
821
deleteJobTemplate</H3>
 
822
<PRE>
 
823
public void <B>deleteJobTemplate</B>(<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A>&nbsp;jt)
 
824
                       throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
825
<DL>
 
826
<DD>Deallocate a job template. This routine has no effect on running jobs.
 
827
<P>
 
828
<DD><DL>
 
829
<DT><B>Parameters:</B><DD><CODE>jt</CODE> - the JobTemplate to delete
 
830
<DT><B>Throws:</B>
 
831
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
832
 <UL>
 
833
 <LI>DrmCommunicationException</LI>
 
834
 <LI>InvalidJobTemplateException</LI>
 
835
 </UL></DL>
 
836
</DD>
 
837
</DL>
 
838
<HR>
 
839
 
 
840
<A NAME="runJob(org.ggf.drmaa.JobTemplate)"><!-- --></A><H3>
 
841
runJob</H3>
 
842
<PRE>
 
843
public java.lang.String <B>runJob</B>(<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A>&nbsp;jt)
 
844
                        throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
845
<DL>
 
846
<DD>Submit a job with attributes defined in the job template, <i>jt</i>.
 
847
 The returned job identifier is a String identical to that returned
 
848
 from the underlying DRM system.
 
849
<P>
 
850
<DD><DL>
 
851
<DT><B>Parameters:</B><DD><CODE>jt</CODE> - the job template to be used to create the job
 
852
<DT><B>Returns:</B><DD>job identifier String identical to that returned from the
 
853
 underlying DRM system
 
854
<DT><B>Throws:</B>
 
855
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
856
 <UL>
 
857
 <LI>TryLaterException</LI>
 
858
 <LI>DeniedByDrmException</LI>
 
859
 <LI>DrmCommunicationException</LI>
 
860
 <LI>AuthorizationException</LI>
 
861
 <LI>InvalidJobTemplateException</LI>
 
862
 </UL></DL>
 
863
</DD>
 
864
</DL>
 
865
<HR>
 
866
 
 
867
<A NAME="runBulkJobs(org.ggf.drmaa.JobTemplate, int, int, int)"><!-- --></A><H3>
 
868
runBulkJobs</H3>
 
869
<PRE>
 
870
public java.util.List <B>runBulkJobs</B>(<A HREF="../../../org/ggf/drmaa/JobTemplate.html" title="class in org.ggf.drmaa">JobTemplate</A>&nbsp;jt,
 
871
                                  int&nbsp;start,
 
872
                                  int&nbsp;end,
 
873
                                  int&nbsp;incr)
 
874
                           throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
875
<DL>
 
876
<DD><p>Submit a set of parametric jobs, dependent on the implied loop index,
 
877
 each with attributes defined in the job template, <i>jt</i>.
 
878
 The returned job identifiers are Strings identical to those returned
 
879
 from the underlying DRM system.</p>
 
880
 <p>The JobTemplate class defines a <code>PARAMETRIC_INDEX</code> placeholder for use in
 
881
 specifying paths.  This placeholder is used to represent the individual
 
882
 identifiers of the tasks submitted through this method.</p>
 
883
<P>
 
884
<DD><DL>
 
885
<DT><B>Parameters:</B><DD><CODE>start</CODE> - the starting value for the loop index<DD><CODE>end</CODE> - the terminating value for the loop index<DD><CODE>incr</CODE> - the value by which to increment the loop index each iteration<DD><CODE>jt</CODE> - the job template to be used to create the job
 
886
<DT><B>Returns:</B><DD>job identifier Strings identical to that returned by the
 
887
 underlying DRM system
 
888
<DT><B>Throws:</B>
 
889
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
890
 <UL>
 
891
 <LI>TryLaterException</LI>
 
892
 <LI>DeniedByDrmException</LI>
 
893
 <LI>DrmCommunicationException</LI>
 
894
 <LI>AuthorizationException</LI>
 
895
 <LI>InvalidJobTemplateException</LI>
 
896
 </UL></DL>
 
897
</DD>
 
898
</DL>
 
899
<HR>
 
900
 
 
901
<A NAME="control(java.lang.String, int)"><!-- --></A><H3>
 
902
control</H3>
 
903
<PRE>
 
904
public void <B>control</B>(java.lang.String&nbsp;jobId,
 
905
                    int&nbsp;action)
 
906
             throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
907
<DL>
 
908
<DD><p>Hold, release, suspend, resume, or kill the job identified by <i>jobId</i>.
 
909
 If <i>jobId</i> is <code>JOB_IDS_SESSION_ALL</code>, then this routine acts on all jobs
 
910
 <B>submitted</B> during this DRMAA session up to the moment control() is
 
911
 called.  To avoid thread races in multithreaded applications, the DRMAA
 
912
 implementation user should explicitly synchronize this call with any other
 
913
 job submission calls or control calls that may change the number of remote
 
914
 jobs.</P>
 
915
 <p>The legal values for <i>action</i> and their meanings are:
 
916
 <UL>
 
917
 <LI><code>SUSPEND</code>: stop the job,</LI>
 
918
 <LI><code>RESUME</code>: (re)start the job,</LI>
 
919
 <LI><code>HOLD</code>: put the job on-hold,</LI>
 
920
 <LI><code>RELEASE</code>: release the hold on the job, and</LI>
 
921
 <LI><code>TERMINATE</code>: kill the job.</LI>
 
922
 </UL>
 
923
 </p>
 
924
 <p>This method returns once the action has been acknowledged by
 
925
 the DRM system, but does not necessarily wait until the action
 
926
 has been completed.</p>
 
927
 <p>Some DRMAA implementations may allow this method to be used to control jobs
 
928
 submitted external to the DRMAA session, such as jobs submitted by other DRMAA
 
929
 session in other DRMAA implementations or jobs submitted via native
 
930
 utilities.</p>
 
931
<P>
 
932
<DD><DL>
 
933
<DT><B>Parameters:</B><DD><CODE>jobId</CODE> - The id of the job to control<DD><CODE>action</CODE> - the control action to be taken
 
934
<DT><B>Throws:</B>
 
935
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
936
 <UL>
 
937
 <LI>DrmCommunicationException</LI>
 
938
 <LI>AuthorizationException</LI>
 
939
 <LI>ResumeInconsistentStateException</LI>
 
940
 <LI>SuspendInconsistentStateException</LI>
 
941
 <LI>HoldInconsistentStateException</LI>
 
942
 <LI>ReleaseInconsistentStateException</LI>
 
943
 <LI>InvalidJobException</LI>
 
944
 </UL></DL>
 
945
</DD>
 
946
</DL>
 
947
<HR>
 
948
 
 
949
<A NAME="synchronize(java.util.List, long, boolean)"><!-- --></A><H3>
 
950
synchronize</H3>
 
951
<PRE>
 
952
public void <B>synchronize</B>(java.util.List&nbsp;jobIds,
 
953
                        long&nbsp;timeout,
 
954
                        boolean&nbsp;dispose)
 
955
                 throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
956
<DL>
 
957
<DD><p>Wait until all jobs specified by <i>jobIds</i> have finished execution.
 
958
 If <i>jobIds</i> contains <code>JOB_IDS_SESSION_ALL</code>, then this method waits for all
 
959
 jobs <B>submitted</B> during this DRMAA session up to the moment
 
960
 synchronize() is called.  To avoid thread race conditions in multithreaded
 
961
 applications, the DRMAA implementation user should explicitly synchronize
 
962
 this call with any other job submission calls or control calls that may
 
963
 change the number of remote jobs.</p>
 
964
 <p>To prevent blocking indefinitely in this call, the caller may use a timeout
 
965
 specifying after how many seconds to block in this call.  The value
 
966
 <code>TIMEOUT_WAIT_FOREVER MAY</code> be specified to wait indefinitely for a result.
 
967
 The value <code>TIMEOUT_NO_WAIT MAY</code> be specified to return immediately if no
 
968
 result is available. If the call exits before the timeout has elapsed, all the
 
969
 jobs have been waited on or there was an interrupt.
 
970
 If the invocation exits on timeout, an ExitTimeException is thrown.
 
971
 The caller should check system time before and after this call in order to
 
972
 be sure of how much time has passed.</p>
 
973
 <p>The <i>dispose</i> parameter specifies how to treat the reaping of the remote job's
 
974
 internal data record, which includes a record of the job's consumption of system
 
975
 resources during its execution and other statistical information.  If set to
 
976
 <code>true</code>, the DRM will dispose of the job's data record at the end of
 
977
 the synchroniize() call.  If set to <code>false</code>, the data record will be
 
978
 left for future access via the wait() method.</p>
 
979
<P>
 
980
<DD><DL>
 
981
<DT><B>Parameters:</B><DD><CODE>jobIds</CODE> - the ids of the jobs to synchronize<DD><CODE>timeout</CODE> - the maximum number of seconds to wait<DD><CODE>dispose</CODE> - specifies how to treat reaping information
 
982
<DT><B>Throws:</B>
 
983
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
984
 <UL>
 
985
 <LI>DrmCommunicationException</LI>
 
986
 <LI>AuthorizationException</LI>
 
987
 <LI>ExitTimeoutException</LI>
 
988
 <LI>InvalidJobException</LI>
 
989
 </UL><DT><B>See Also:</B><DD><A HREF="../../../org/ggf/drmaa/Session.html#wait(java.lang.String, long)"><CODE>wait(java.lang.String, long)</CODE></A></DL>
 
990
</DD>
 
991
</DL>
 
992
<HR>
 
993
 
 
994
<A NAME="wait(java.lang.String, long)"><!-- --></A><H3>
 
995
wait</H3>
 
996
<PRE>
 
997
public <A HREF="../../../org/ggf/drmaa/JobInfo.html" title="class in org.ggf.drmaa">JobInfo</A> <B>wait</B>(java.lang.String&nbsp;jobId,
 
998
                    long&nbsp;timeout)
 
999
             throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
1000
<DL>
 
1001
<DD><P>This method will wait for a job with <i>jobId</i> to finish execution or fail.
 
1002
 If the special string, <code>JOB_IDS_SESSION_ANY</code>, is provided as the
 
1003
 <i>jobId</i>,
 
1004
 this routine will wait for any job from the session. This routine is
 
1005
 modeled on the wait3 POSIX routine.</p>
 
1006
 <P>The <i>timeout</i> value is used to specify the desired behavior when a result
 
1007
 is not immediately available.  The value, <code>TIMEOUT_WAIT_FOREVER<code>, may be
 
1008
 specified to wait indefinitely for a result.  The value, <code>TIMEOUT_NO_WAIT<code>,
 
1009
 may be specified to return immediately if no result is available.
 
1010
 Alternatively, a number of seconds may be specified to indicate how
 
1011
 long to wait for a result to become available.</p>
 
1012
 <p>If the call exits before timeout, either the job has been waited on
 
1013
 successfully or there was an interrupt.
 
1014
 If the invocation exits on timeout, an ExitTimeoutException is thrown.
 
1015
 The caller should check system time before and after this call
 
1016
 in order to be sure how much time has passed.</p>
 
1017
 <p>The routine reaps job data records on a successful call, so any subsequent
 
1018
 calls to wait() will fail, throwing an InvalidJobException, meaning
 
1019
 that the job's data record has been already reaped. This exception is the same as
 
1020
 if the job was unknown.  (The only case where wait() can be successfully called
 
1021
 on a single job more than once is when the previous call to wait() timed out
 
1022
 before the job finished.)</p>
 
1023
 <p>When successful, the resource usage information for the job is provided as a
 
1024
 Map of usage parameter names and their values.
 
1025
 The values contain the amount of resources consumed by the job and are
 
1026
 implementation defined.</p>
 
1027
<P>
 
1028
<DD><DL>
 
1029
<DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the id of the job for which to wait<DD><CODE>timeout</CODE> - the maximum number of seconds to wait
 
1030
<DT><B>Returns:</B><DD>the resource usage and status information
 
1031
<DT><B>Throws:</B>
 
1032
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
1033
 <UL>
 
1034
 <LI>DrmCommunicationException</LI>
 
1035
 <LI>AuthorizationException</LI>
 
1036
 <LI>NoResourceUsageDataException</LI>
 
1037
 <LI>ExitTimeoutException</LI>
 
1038
 <LI>InvalidJobException</LI>
 
1039
 </UL></DL>
 
1040
</DD>
 
1041
</DL>
 
1042
<HR>
 
1043
 
 
1044
<A NAME="getJobProgramStatus(java.lang.String)"><!-- --></A><H3>
 
1045
getJobProgramStatus</H3>
 
1046
<PRE>
 
1047
public int <B>getJobProgramStatus</B>(java.lang.String&nbsp;jobId)
 
1048
                        throws <A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></PRE>
 
1049
<DL>
 
1050
<DD>Get the program status of the job identified by jobId.
 
1051
 The possible values returned from this method are:
 
1052
 <UL>
 
1053
 <LI><code>UNDETERMINED</code>: process status cannot be determined</LI>
 
1054
 <LI><code>QUEUED_ACTIVE</code>: job is queued and active</LI>
 
1055
 <LI><code>SYSTEM_ON_HOLD</code>: job is queued and in system hold</LI>
 
1056
 <LI><code>USER_ON_HOLD</code>: job is queued and in user hold</LI>
 
1057
 <LI><code>USER_SYSTEM_ON_HOLD</code>: job is queued and in user and system hold</LI>
 
1058
 <LI><code>RUNNING</code>: job is running</LI>
 
1059
 <LI><code>SYSTEM_SUSPENDED</code>: job is system suspended</LI>
 
1060
 <LI><code>USER_SUSPENDED</code>: job is user suspended</LI>
 
1061
 <LI><code>DONE</code>: job finished normally</LI>
 
1062
 <LI><code>FAILED</code>: job finished, but failed.</LI>
 
1063
 </UL>
 
1064
 The DRMAA implementation should always get the status of jobId from DRM system
 
1065
 unless the status has already been determined to be <code>FAILED</code> or <code>DONE</code> and the
 
1066
 status has been successfully cached. Terminated jobs return a <code>FAILED</code> status.
 
1067
<P>
 
1068
<DD><DL>
 
1069
<DT><B>Parameters:</B><DD><CODE>jobId</CODE> - the id of the job whose status is to be retrieved
 
1070
<DT><B>Returns:</B><DD>the program status
 
1071
<DT><B>Throws:</B>
 
1072
<DD><CODE><A HREF="../../../org/ggf/drmaa/DrmaaException.html" title="class in org.ggf.drmaa">DrmaaException</A></CODE> - May be one of the following:
 
1073
 <UL>
 
1074
 <LI>DrmCommunicationException</LI>
 
1075
 <LI>AuthorizationException</LI>
 
1076
 <LI>InvalidJobException</LI>
 
1077
 </UL></DL>
 
1078
</DD>
 
1079
</DL>
 
1080
<HR>
 
1081
 
 
1082
<A NAME="getContact()"><!-- --></A><H3>
 
1083
getContact</H3>
 
1084
<PRE>
 
1085
public java.lang.String <B>getContact</B>()</PRE>
 
1086
<DL>
 
1087
<DD>If called before init(), this method returns a comma delimited String containing
 
1088
 the contact Strings available from the default DRMAA
 
1089
 implementation, one element per DRM system available. If called after init(),
 
1090
 this method returns the contact String for the DRM system to which the session
 
1091
 is attached. The returned String is implementation dependent.
 
1092
<P>
 
1093
<DD><DL>
 
1094
 
 
1095
<DT><B>Returns:</B><DD>current contact information for DRM system or a comma delimited
 
1096
 list of possible contact Strings</DL>
 
1097
</DD>
 
1098
</DL>
 
1099
<HR>
 
1100
 
 
1101
<A NAME="getVersion()"><!-- --></A><H3>
 
1102
getVersion</H3>
 
1103
<PRE>
 
1104
public <A HREF="../../../org/ggf/drmaa/Version.html" title="class in org.ggf.drmaa">Version</A> <B>getVersion</B>()</PRE>
 
1105
<DL>
 
1106
<DD>Returns a Version object containing the major and minor version numbers of the
 
1107
 DRMAA library.  For DRMAA 0.5, major is 0 and minor is 5.
 
1108
<P>
 
1109
<DD><DL>
 
1110
 
 
1111
<DT><B>Returns:</B><DD>the version number as a Version object<DT><B>See Also:</B><DD><A HREF="../../../org/ggf/drmaa/Version.html" title="class in org.ggf.drmaa"><CODE>Version</CODE></A></DL>
 
1112
</DD>
 
1113
</DL>
 
1114
<HR>
 
1115
 
 
1116
<A NAME="getDrmSystem()"><!-- --></A><H3>
 
1117
getDrmSystem</H3>
 
1118
<PRE>
 
1119
public java.lang.String <B>getDrmSystem</B>()</PRE>
 
1120
<DL>
 
1121
<DD>If called before init(), this method returns a comma delimited list of DRM
 
1122
 systems, one element per DRM system implementation provided. If called after
 
1123
 init(), this method returns the selected DRM system. The returned String is
 
1124
 implementation dependent.
 
1125
<P>
 
1126
<DD><DL>
 
1127
 
 
1128
<DT><B>Returns:</B><DD>DRM system implementation information</DL>
 
1129
</DD>
 
1130
</DL>
 
1131
<HR>
 
1132
 
 
1133
<A NAME="getDrmaaImplementation()"><!-- --></A><H3>
 
1134
getDrmaaImplementation</H3>
 
1135
<PRE>
 
1136
public java.lang.String <B>getDrmaaImplementation</B>()</PRE>
 
1137
<DL>
 
1138
<DD>If called before init(), this method returns a comma delimited list of DRMAA
 
1139
 implementations, one element for each DRMAA implementation provided.  If
 
1140
 called after init(), this method returns the selected DRMAA implementation.
 
1141
 The returned String is implementation dependent and may contain the DRM
 
1142
 system as a component.
 
1143
<P>
 
1144
<DD><DL>
 
1145
 
 
1146
<DT><B>Returns:</B><DD>DRMAA implementation information</DL>
 
1147
</DD>
 
1148
</DL>
 
1149
<!-- ========= END OF CLASS DATA ========= -->
 
1150
<HR>
 
1151
 
 
1152
 
 
1153
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 
1154
<A NAME="navbar_bottom"><!-- --></A>
 
1155
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 
1156
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
1157
<TR>
 
1158
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
1159
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
1160
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
1161
  <TR ALIGN="center" VALIGN="top">
 
1162
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
1163
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
1164
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
1165
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
1166
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
1167
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
1168
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
1169
  </TR>
 
1170
</TABLE>
 
1171
</TD>
 
1172
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
1173
</EM>
 
1174
</TD>
 
1175
</TR>
 
1176
 
 
1177
<TR>
 
1178
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
1179
&nbsp;<A HREF="../../../org/ggf/drmaa/ResumeInconsistentStateException.html" title="class in org.ggf.drmaa"><B>PREV CLASS</B></A>&nbsp;
 
1180
&nbsp;<A HREF="../../../org/ggf/drmaa/SessionException.html" title="class in org.ggf.drmaa"><B>NEXT CLASS</B></A></FONT></TD>
 
1181
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
1182
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
1183
&nbsp;<A HREF="Session.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
1184
&nbsp;<SCRIPT type="text/javascript">
 
1185
  <!--
 
1186
  if(window==top) {
 
1187
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
1188
  }
 
1189
  //-->
 
1190
</SCRIPT>
 
1191
<NOSCRIPT>
 
1192
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
1193
</NOSCRIPT>
 
1194
 
 
1195
</FONT></TD>
 
1196
</TR>
 
1197
<TR>
 
1198
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
1199
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
1200
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
1201
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
1202
</TR>
 
1203
</TABLE>
 
1204
<A NAME="skip-navbar_bottom"></A>
 
1205
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
1206
 
 
1207
<HR>
 
1208
 
 
1209
</BODY>
 
1210
</HTML>