1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.6.0_21) on Tue Dec 21 18:32:59 GMT 2010 -->
\r
10 <META NAME="date" CONTENT="2010-12-21">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 if (location.href.indexOf('is-external=true') == -1) {
\r
18 parent.document.title="JManagement";
\r
27 <BODY BGCOLOR="white" onload="windowTitle();">
\r
31 <!-- ========= START OF TOP NAVBAR ======= -->
\r
32 <A NAME="navbar_top"><!-- --></A>
\r
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
\r
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
37 <A NAME="navbar_top_firstrow"><!-- --></A>
\r
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
39 <TR ALIGN="center" VALIGN="top">
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JManagement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
58 <A HREF="../../../compbio/data/msa/JABAService.html" title="interface in compbio.data.msa"><B>PREV CLASS</B></A>
\r
59 <A HREF="../../../compbio/data/msa/Metadata.html" title="interface in compbio.data.msa"><B>NEXT CLASS</B></A></FONT></TD>
\r
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
61 <A HREF="../../../index.html?compbio/data/msa/JManagement.html" target="_top"><B>FRAMES</B></A>
\r
62 <A HREF="JManagement.html" target="_top"><B>NO FRAMES</B></A>
\r
63 <SCRIPT type="text/javascript">
\r
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
79 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
81 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
84 <A NAME="skip-navbar_top"></A>
\r
85 <!-- ========= END OF TOP NAVBAR ========= -->
\r
88 <!-- ======== START OF CLASS DATA ======== -->
\r
91 compbio.data.msa</FONT>
\r
93 Interface JManagement</H2>
\r
95 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../compbio/data/msa/Annotation.html" title="interface in compbio.data.msa">Annotation</A><T>, <A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A><T></DD>
\r
99 <DT><PRE>public interface <B>JManagement</B></DL>
\r
107 <!-- ========== METHOD SUMMARY =========== -->
\r
109 <A NAME="method_summary"><!-- --></A>
\r
110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
111 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
112 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
113 <B>Method Summary</B></FONT></TH>
\r
115 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
116 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
117 <CODE> boolean</CODE></FONT></TD>
\r
118 <TD><CODE><B><A HREF="../../../compbio/data/msa/JManagement.html#cancelJob(java.lang.String)">cancelJob</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</CODE>
\r
121 Stop running the job <code>jobId</code> but leave its output untouched</TD>
\r
123 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
125 <CODE> <A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata">JobStatus</A></CODE></FONT></TD>
\r
126 <TD><CODE><B><A HREF="../../../compbio/data/msa/JManagement.html#getJobStatus(java.lang.String)">getJobStatus</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</CODE>
\r
129 Return the status of the job.</TD>
\r
131 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
133 <CODE> <A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata">ChunkHolder</A></CODE></FONT></TD>
\r
134 <TD><CODE><B><A HREF="../../../compbio/data/msa/JManagement.html#pullExecStatistics(java.lang.String, long)">pullExecStatistics</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId,
\r
135 long position)</CODE>
\r
138 Reads 1kb chunk from the statistics file which is specific to a given web
139 service from the <code>position</code>.</TD>
\r
145 <!-- ============ METHOD DETAIL ========== -->
\r
147 <A NAME="method_detail"><!-- --></A>
\r
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
149 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
150 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
151 <B>Method Detail</B></FONT></TH>
\r
155 <A NAME="cancelJob(java.lang.String)"><!-- --></A><H3>
\r
158 boolean <B>cancelJob</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</PRE>
\r
160 <DD>Stop running the job <code>jobId</code> but leave its output untouched
\r
164 <DT><B>Returns:</B><DD>true if job was cancelled successfully, false otherwise
\r
166 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/InvalidParameterException.html?is-external=true" title="class or interface in java.security">InvalidParameterException</A></CODE> - is thrown if jobId is empty or cannot be recognised e.g. in
167 invalid format</DL>
\r
172 <A NAME="getJobStatus(java.lang.String)"><!-- --></A><H3>
\r
175 <A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata">JobStatus</A> <B>getJobStatus</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</PRE>
\r
177 <DD>Return the status of the job.
\r
180 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - - unique job identifier
\r
181 <DT><B>Returns:</B><DD>JobStatus - status of the job
\r
183 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/InvalidParameterException.html?is-external=true" title="class or interface in java.security">InvalidParameterException</A></CODE> - is thrown if jobId is empty or cannot be recognised e.g. in
184 invalid format<DT><B>See Also:</B><DD><A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata"><CODE>JobStatus</CODE></A></DL>
\r
189 <A NAME="pullExecStatistics(java.lang.String, long)"><!-- --></A><H3>
\r
190 pullExecStatistics</H3>
\r
192 <A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata">ChunkHolder</A> <B>pullExecStatistics</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId,
\r
193 long position)</PRE>
\r
195 <DD>Reads 1kb chunk from the statistics file which is specific to a given web
196 service from the <code>position</code>. If in time of a request less then
197 1kb data is available from the position to the end of the file, then it
198 returns all the data available from the position to the end of the file.
\r
201 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - - unique job identifier<DD><CODE>position</CODE> - - next position within the file to read
\r
202 <DT><B>Returns:</B><DD>ChunkHolder - which contains a chunk of data and a next position
203 within the file from which no data has been read
\r
205 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/InvalidParameterException.html?is-external=true" title="class or interface in java.security">InvalidParameterException</A></CODE> - thrown if jobId is empty or cannot be recognised e.g. in
206 invalid format and also if the position value is negative<DT><B>See Also:</B><DD><A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata"><CODE>ChunkHolder</CODE></A></DL>
\r
209 <!-- ========= END OF CLASS DATA ========= -->
\r
213 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
214 <A NAME="navbar_bottom"><!-- --></A>
\r
215 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
216 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
218 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
219 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
220 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
221 <TR ALIGN="center" VALIGN="top">
\r
222 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
223 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
224 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JManagement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
227 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
233 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
239 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
240 <A HREF="../../../compbio/data/msa/JABAService.html" title="interface in compbio.data.msa"><B>PREV CLASS</B></A>
\r
241 <A HREF="../../../compbio/data/msa/Metadata.html" title="interface in compbio.data.msa"><B>NEXT CLASS</B></A></FONT></TD>
\r
242 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
243 <A HREF="../../../index.html?compbio/data/msa/JManagement.html" target="_top"><B>FRAMES</B></A>
\r
244 <A HREF="JManagement.html" target="_top"><B>NO FRAMES</B></A>
\r
245 <SCRIPT type="text/javascript">
\r
248 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
253 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
260 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
261 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
262 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
263 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
266 <A NAME="skip-navbar_bottom"></A>
\r
267 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r