update links to 1.6.18; 10.9 gone, signing keys are problematic
[openafs-wiki.git] / JavaAdminAPI / Process.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc on Mon Jun 09 15:53:38 PDT 2003 -->
6 <TITLE>
7 Process (Java AFS API)
8 </TITLE>
9 <META NAME="keywords" CONTENT="org.openafs.jafs.Process,Process class">
10 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
11 </HEAD>
12 <SCRIPT>
13 function asd()
14 {
15 parent.document.title="Process (Java AFS API)";
16 }
17 </SCRIPT>
18 <BODY BGCOLOR="white" onload="asd();">
19
20 <!-- ========== START OF NAVBAR ========== -->
21 <A NAME="navbar_top"><!-- --></A>
22 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
23 <TR>
24 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25 <A NAME="navbar_top_firstrow"><!-- --></A>
26 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27   <TR ALIGN="center" VALIGN="top">
28   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
29   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
30   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Process.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
31   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
32   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
33   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
34   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
35   </TR>
36 </TABLE>
37 </TD>
38 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39 <B>JAFS API v2</B></EM>
40 </TD>
41 </TR>
42
43 <TR>
44 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45 &nbsp;<A HREF="../../../org/openafs/jafs/Partition.html"><B>PREV CLASS</B></A>&nbsp;
46 &nbsp;<A HREF="../../../org/openafs/jafs/Server.html"><B>NEXT CLASS</B></A></FONT></TD>
47 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48   <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
49 &nbsp;<A HREF="Process.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
50 &nbsp;
51 <SCRIPT>
52   <!--
53   if(window==top) {
54     document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
55   }
56   //-->
57 </SCRIPT>
58 <NOSCRIPT>
59 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
60 </NOSCRIPT>
61 </FONT></TD>
62 </TR>
63 <TR>
64 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
66 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
68 </TR>
69 </TABLE>
70 <!-- =========== END OF NAVBAR =========== -->
71
72 <HR>
73 <!-- ======== START OF CLASS DATA ======== -->
74 <H2>
75 <FONT SIZE="-1">
76 org.openafs.jafs</FONT>
77 <BR>
78 Class Process</H2>
79 <PRE>
80 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">java.lang.Object</A>
81   |
82   +--<B>org.openafs.jafs.Process</B>
83 </PRE>
84 <DL>
85 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html">Comparable</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html">Serializable</A></DD>
86 </DL>
87 <HR>
88 <DL>
89 <DT>public class <B>Process</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html">Comparable</A></DL>
90
91 <P>
92 An abstract representation of an AFS process.  It holds information about 
93  the server, such as what its state is.
94  <BR><BR>
95
96  Constructing an instance of a <code>Process</code> does not mean an actual 
97  AFS process is created on a server -- usually a <code>Process</code>
98  object is a representation of an already existing AFS process.  If, 
99  however, the <code>Process</code> is constructed with the name of a 
100  process that does not exist in the server represented by the provided 
101  <code>Server</code>, a new process with that name can be
102  created on that server by calling one of the <A HREF="../../../org/openafs/jafs/Process.html#createSimple(java.lang.String)"><CODE>createSimple(String)</CODE></A>,
103  <A HREF="../../../org/openafs/jafs/Process.html#createFS(java.lang.String)"><CODE>createFS(String)</CODE></A>, or <A HREF="../../../org/openafs/jafs/Process.html#createCron(java.lang.String, java.lang.String)"><CODE>createCron(String,String)</CODE></A> methods. If
104  such a process does already exist when one of these methods are called, 
105  an exception will be thrown.<BR><BR>
106
107  <!--Information on how member values are set-->
108
109  <!--Example of how to use class-->
110  The following is a simple example of how to construct and use a 
111  <code>Process</code> object.  This example obtains the list of all
112  <code>Process</code> objects on a particular server and prints out the
113  name of each one along with its start time.<BR><BR>
114
115  <PRE>
116  import org.openafs.jafs.Cell;
117  import org.openafs.jafs.AFSException;
118  import org.openafs.jafs.Process;
119  import org.openafs.jafs.Server;
120  ...
121  public class ...
122  {
123    ...
124    private Cell cell;
125    private Server server;
126    ...
127    public static void main(String[] args) throws Exception
128    {
129      String username   = arg[0];
130      String password   = arg[1];
131      String cellName   = arg[2];
132      String serverName = arg[3];
133  
134      token = new Token(username, password, cellName);
135      cell   = new Cell(token);
136      server = new Server(serverName, cell);
137  
138      System.out.println("Processes in Server " + server.getName() + ":");
139      Process[] processes = server.getProcesss();
140      for (int i = 0; i < processes.length; i++) {
141        System.out.print("Process " + processes[i].getName());
142        System.out.print("was started: " + 
143                         processes[i].getStartTimeDate().getTime() + "\n");
144      }
145    }
146    ...
147  }
148  </PRE>
149 <P>
150
151 <P>
152 <DL>
153 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html" TARGET="org.openafs.jafs.Process">Serialized Form</A></DL>
154 <HR>
155
156 <P>
157 <!-- ======== NESTED CLASS SUMMARY ======== -->
158
159
160 <!-- =========== FIELD SUMMARY =========== -->
161
162 <A NAME="field_summary"><!-- --></A>
163 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
164 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
165 <TD COLSPAN=2><FONT SIZE="+2">
166 <B>Field Summary</B></FONT></TD>
167 </TR>
168 <TR BGCOLOR="white" CLASS="TableRowColor">
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170 <CODE>protected &nbsp;boolean</CODE></FONT></TD>
171 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#cachedInfo">cachedInfo</A></B></CODE>
172
173 <BR>
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>static&nbsp;int</CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#CRON_PROCESS">CRON_PROCESS</A></B></CODE>
180
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A process that should be restarted at a specific time either daily 
183  or weekly.</TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE>protected &nbsp;long</CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#errorCode">errorCode</A></B></CODE>
189
190 <BR>
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
192 </TR>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE>protected &nbsp;long</CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#errorSignal">errorSignal</A></B></CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>protected &nbsp;long</CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#exitErrorTime">exitErrorTime</A></B></CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#exitErrorTimeDate">exitErrorTimeDate</A></B></CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>protected &nbsp;long</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#exitTime">exitTime</A></B></CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
228 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#exitTimeDate">exitTimeDate</A></B></CODE>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>static&nbsp;int</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#FS_PROCESS">FS_PROCESS</A></B></CODE>
237
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Combination of File Server, Volume Server, and Salvager processes</TD>
240 </TR>
241 <TR BGCOLOR="white" CLASS="TableRowColor">
242 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243 <CODE>protected &nbsp;int</CODE></FONT></TD>
244 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#goal">goal</A></B></CODE>
245
246 <BR>
247 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
248 </TR>
249 <TR BGCOLOR="white" CLASS="TableRowColor">
250 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
252 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#name">name</A></B></CODE>
253
254 <BR>
255 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
256 </TR>
257 <TR BGCOLOR="white" CLASS="TableRowColor">
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259 <CODE>protected &nbsp;long</CODE></FONT></TD>
260 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#numberStarts">numberStarts</A></B></CODE>
261
262 <BR>
263 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
264 </TR>
265 <TR BGCOLOR="white" CLASS="TableRowColor">
266 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
267 <CODE>static&nbsp;int</CODE></FONT></TD>
268 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#RUNNING">RUNNING</A></B></CODE>
269
270 <BR>
271 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process execution state running</TD>
272 </TR>
273 <TR BGCOLOR="white" CLASS="TableRowColor">
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
275 <CODE>protected &nbsp;<A HREF="../../../org/openafs/jafs/Server.html">Server</A></CODE></FONT></TD>
276 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#server">server</A></B></CODE>
277
278 <BR>
279 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
280 </TR>
281 <TR BGCOLOR="white" CLASS="TableRowColor">
282 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283 <CODE>protected &nbsp;int</CODE></FONT></TD>
284 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#serverHandle">serverHandle</A></B></CODE>
285
286 <BR>
287 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
288 </TR>
289 <TR BGCOLOR="white" CLASS="TableRowColor">
290 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
291 <CODE>static&nbsp;int</CODE></FONT></TD>
292 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#SIMPLE_PROCESS">SIMPLE_PROCESS</A></B></CODE>
293
294 <BR>
295 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Any standard type of process except for fs (such as kaserver, 
296  upclientbin, etc.)</TD>
297 </TR>
298 <TR BGCOLOR="white" CLASS="TableRowColor">
299 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300 <CODE>static&nbsp;int</CODE></FONT></TD>
301 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#STARTING">STARTING</A></B></CODE>
302
303 <BR>
304 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process execution state starting</TD>
305 </TR>
306 <TR BGCOLOR="white" CLASS="TableRowColor">
307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308 <CODE>protected &nbsp;long</CODE></FONT></TD>
309 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#startTime">startTime</A></B></CODE>
310
311 <BR>
312 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
313 </TR>
314 <TR BGCOLOR="white" CLASS="TableRowColor">
315 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
317 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#startTimeDate">startTimeDate</A></B></CODE>
318
319 <BR>
320 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
321 </TR>
322 <TR BGCOLOR="white" CLASS="TableRowColor">
323 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
324 <CODE>protected &nbsp;int</CODE></FONT></TD>
325 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#state">state</A></B></CODE>
326
327 <BR>
328 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
329 </TR>
330 <TR BGCOLOR="white" CLASS="TableRowColor">
331 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
332 <CODE>protected &nbsp;boolean</CODE></FONT></TD>
333 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#stateBadFileAccess">stateBadFileAccess</A></B></CODE>
334
335 <BR>
336 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
337 </TR>
338 <TR BGCOLOR="white" CLASS="TableRowColor">
339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340 <CODE>protected &nbsp;boolean</CODE></FONT></TD>
341 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#stateOk">stateOk</A></B></CODE>
342
343 <BR>
344 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
345 </TR>
346 <TR BGCOLOR="white" CLASS="TableRowColor">
347 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
348 <CODE>protected &nbsp;boolean</CODE></FONT></TD>
349 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#stateTooManyErrors">stateTooManyErrors</A></B></CODE>
350
351 <BR>
352 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
353 </TR>
354 <TR BGCOLOR="white" CLASS="TableRowColor">
355 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
356 <CODE>static&nbsp;int</CODE></FONT></TD>
357 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#STOPPED">STOPPED</A></B></CODE>
358
359 <BR>
360 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process execution state stopped</TD>
361 </TR>
362 <TR BGCOLOR="white" CLASS="TableRowColor">
363 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
364 <CODE>static&nbsp;int</CODE></FONT></TD>
365 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#STOPPING">STOPPING</A></B></CODE>
366
367 <BR>
368 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process execution state stopping</TD>
369 </TR>
370 <TR BGCOLOR="white" CLASS="TableRowColor">
371 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
372 <CODE>protected &nbsp;int</CODE></FONT></TD>
373 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#type">type</A></B></CODE>
374
375 <BR>
376 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
377 </TR>
378 </TABLE>
379 &nbsp;
380 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
381
382 <A NAME="constructor_summary"><!-- --></A>
383 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
384 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
385 <TD COLSPAN=2><FONT SIZE="+2">
386 <B>Constructor Summary</B></FONT></TD>
387 </TR>
388 <TR BGCOLOR="white" CLASS="TableRowColor">
389 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
390 <CODE>(package private)</CODE></FONT></TD>
391 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#Process(org.openafs.jafs.Server)">Process</A></B>(<A HREF="../../../org/openafs/jafs/Server.html">Server</A>&nbsp;server)</CODE>
392
393 <BR>
394 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a blank <code>Process</code> given the server to which the process
395  belongs.  </TD>
396 </TR>
397 <TR BGCOLOR="white" CLASS="TableRowColor">
398 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
399 <CODE>&nbsp;</CODE></FONT></TD>
400 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#Process(java.lang.String, org.openafs.jafs.Server)">Process</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;name,
401         <A HREF="../../../org/openafs/jafs/Server.html">Server</A>&nbsp;server)</CODE>
402
403 <BR>
404 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new <code>Process</code> object instance given the name 
405  of the AFS process and the AFS server, represented by 
406  <CODE>server</CODE>, to which it belongs.   </TD>
407 </TR>
408 <TR BGCOLOR="white" CLASS="TableRowColor">
409 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
410 <CODE>&nbsp;</CODE></FONT></TD>
411 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#Process(java.lang.String, org.openafs.jafs.Server, boolean)">Process</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;name,
412         <A HREF="../../../org/openafs/jafs/Server.html">Server</A>&nbsp;server,
413         boolean&nbsp;preloadAllMembers)</CODE>
414
415 <BR>
416 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new <CODE>Process</CODE> object instance given the name 
417  of the AFS process and the AFS server, represented by 
418  <CODE>server</CODE>, to which it belongs.  </TD>
419 </TR>
420 </TABLE>
421 &nbsp;
422 <!-- ========== METHOD SUMMARY =========== -->
423
424 <A NAME="method_summary"><!-- --></A>
425 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
426 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
427 <TD COLSPAN=2><FONT SIZE="+2">
428 <B>Method Summary</B></FONT></TD>
429 </TR>
430 <TR BGCOLOR="white" CLASS="TableRowColor">
431 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
432 <CODE>&nbsp;int</CODE></FONT></TD>
433 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#compareTo(java.lang.Object)">compareTo</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</CODE>
434
435 <BR>
436 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comparable interface method.</TD>
437 </TR>
438 <TR BGCOLOR="white" CLASS="TableRowColor">
439 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
440 <CODE>&nbsp;int</CODE></FONT></TD>
441 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#compareTo(org.openafs.jafs.Process)">compareTo</A></B>(<A HREF="../../../org/openafs/jafs/Process.html">Process</A>&nbsp;process)</CODE>
442
443 <BR>
444 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares two Process objects respective to their names and does not
445  factor any other attribute.    </TD>
446 </TR>
447 <TR BGCOLOR="white" CLASS="TableRowColor">
448 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
449 <CODE>protected static&nbsp;void</CODE></FONT></TD>
450 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#create(int, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)">create</A></B>(int&nbsp;serverHandle,
451        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName,
452        int&nbsp;processType,
453        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath,
454        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;cronTime,
455        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;notifier)</CODE>
456
457 <BR>
458 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a processes on a server.</TD>
459 </TR>
460 <TR BGCOLOR="white" CLASS="TableRowColor">
461 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
462 <CODE>&nbsp;void</CODE></FONT></TD>
463 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#createCron(java.lang.String, java.lang.String)">createCron</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath,
464            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;cronTime)</CODE>
465
466 <BR>
467 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates this process as a cron process on the server.</TD>
468 </TR>
469 <TR BGCOLOR="white" CLASS="TableRowColor">
470 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
471 <CODE>&nbsp;void</CODE></FONT></TD>
472 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#createFS(java.lang.String)">createFS</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath)</CODE>
473
474 <BR>
475 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates this process as a file server process on the server.</TD>
476 </TR>
477 <TR BGCOLOR="white" CLASS="TableRowColor">
478 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
479 <CODE>&nbsp;void</CODE></FONT></TD>
480 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#createSimple(java.lang.String)">createSimple</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath)</CODE>
481
482 <BR>
483 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates this process as a simple process on the server.</TD>
484 </TR>
485 <TR BGCOLOR="white" CLASS="TableRowColor">
486 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
487 <CODE>&nbsp;void</CODE></FONT></TD>
488 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#delete()">delete</A></B>()</CODE>
489
490 <BR>
491 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes this process from the bos server</TD>
492 </TR>
493 <TR BGCOLOR="white" CLASS="TableRowColor">
494 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
495 <CODE>protected static&nbsp;void</CODE></FONT></TD>
496 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#delete(int, java.lang.String)">delete</A></B>(int&nbsp;serverHandle,
497        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)</CODE>
498
499 <BR>
500 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a process from a server.</TD>
501 </TR>
502 <TR BGCOLOR="white" CLASS="TableRowColor">
503 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
504 <CODE>&nbsp;boolean</CODE></FONT></TD>
505 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#equals(org.openafs.jafs.Process)">equals</A></B>(<A HREF="../../../org/openafs/jafs/Process.html">Process</A>&nbsp;otherProcess)</CODE>
506
507 <BR>
508 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests whether two <code>Process</code> objects are equal, based on their 
509  names and hosting server.</TD>
510 </TR>
511 <TR BGCOLOR="white" CLASS="TableRowColor">
512 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
513 <CODE>&nbsp;long</CODE></FONT></TD>
514 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getErrorCode()">getErrorCode</A></B>()</CODE>
515
516 <BR>
517 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the error code of the process.  </TD>
518 </TR>
519 <TR BGCOLOR="white" CLASS="TableRowColor">
520 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
521 <CODE>&nbsp;long</CODE></FONT></TD>
522 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getErrorSignal()">getErrorSignal</A></B>()</CODE>
523
524 <BR>
525 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the error signal of the process.  </TD>
526 </TR>
527 <TR BGCOLOR="white" CLASS="TableRowColor">
528 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
529 <CODE>&nbsp;long</CODE></FONT></TD>
530 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getExitErrorTime()">getExitErrorTime</A></B>()</CODE>
531
532 <BR>
533 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the most recent time this process exited with an error.  </TD>
534 </TR>
535 <TR BGCOLOR="white" CLASS="TableRowColor">
536 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
537 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
538 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getExitErrorTimeDate()">getExitErrorTimeDate</A></B>()</CODE>
539
540 <BR>
541 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the most recent time this process exited with an error.  </TD>
542 </TR>
543 <TR BGCOLOR="white" CLASS="TableRowColor">
544 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
545 <CODE>&nbsp;long</CODE></FONT></TD>
546 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getExitTime()">getExitTime</A></B>()</CODE>
547
548 <BR>
549 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the most recent exit time of this process.  </TD>
550 </TR>
551 <TR BGCOLOR="white" CLASS="TableRowColor">
552 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
553 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
554 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getExitTimeDate()">getExitTimeDate</A></B>()</CODE>
555
556 <BR>
557 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the most recent exit time of this process.  </TD>
558 </TR>
559 <TR BGCOLOR="white" CLASS="TableRowColor">
560 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
561 <CODE>&nbsp;int</CODE></FONT></TD>
562 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getGoal()">getGoal</A></B>()</CODE>
563
564 <BR>
565 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the process goal.  </TD>
566 </TR>
567 <TR BGCOLOR="white" CLASS="TableRowColor">
568 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
569 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
570 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getInfo()">getInfo</A></B>()</CODE>
571
572 <BR>
573 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>String</code> representation of this <code>Process</code>.
574  </TD>
575 </TR>
576 <TR BGCOLOR="white" CLASS="TableRowColor">
577 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
578 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
579 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getName()">getName</A></B>()</CODE>
580
581 <BR>
582 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of this process.</TD>
583 </TR>
584 <TR BGCOLOR="white" CLASS="TableRowColor">
585 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
586 <CODE>&nbsp;long</CODE></FONT></TD>
587 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getNumberOfStarts()">getNumberOfStarts</A></B>()</CODE>
588
589 <BR>
590 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of starts of the process.
591  </TD>
592 </TR>
593 <TR BGCOLOR="white" CLASS="TableRowColor">
594 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
595 <CODE>protected static&nbsp;void</CODE></FONT></TD>
596 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getProcessInfo(int, java.lang.String, org.openafs.jafs.Process)">getProcessInfo</A></B>(int&nbsp;cellHandle,
597                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName,
598                <A HREF="../../../org/openafs/jafs/Process.html">Process</A>&nbsp;theProcess)</CODE>
599
600 <BR>
601 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills in the information fields of the provided <code>Process</code>.</TD>
602 </TR>
603 <TR BGCOLOR="white" CLASS="TableRowColor">
604 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
605 <CODE>&nbsp;<A HREF="../../../org/openafs/jafs/Server.html">Server</A></CODE></FONT></TD>
606 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getServer()">getServer</A></B>()</CODE>
607
608 <BR>
609 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the server hosting this process.</TD>
610 </TR>
611 <TR BGCOLOR="white" CLASS="TableRowColor">
612 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
613 <CODE>&nbsp;long</CODE></FONT></TD>
614 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getStartTime()">getStartTime</A></B>()</CODE>
615
616 <BR>
617 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the most recent start time of this process.  </TD>
618 </TR>
619 <TR BGCOLOR="white" CLASS="TableRowColor">
620 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
621 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A></CODE></FONT></TD>
622 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getStartTimeDate()">getStartTimeDate</A></B>()</CODE>
623
624 <BR>
625 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the most recent start time of this process.  </TD>
626 </TR>
627 <TR BGCOLOR="white" CLASS="TableRowColor">
628 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
629 <CODE>&nbsp;int</CODE></FONT></TD>
630 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getState()">getState</A></B>()</CODE>
631
632 <BR>
633 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the process execution state.  </TD>
634 </TR>
635 <TR BGCOLOR="white" CLASS="TableRowColor">
636 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
637 <CODE>&nbsp;boolean</CODE></FONT></TD>
638 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getStateBadFileAccess()">getStateBadFileAccess</A></B>()</CODE>
639
640 <BR>
641 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether or not the state of the process indicates bad file access.
642  </TD>
643 </TR>
644 <TR BGCOLOR="white" CLASS="TableRowColor">
645 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
646 <CODE>&nbsp;boolean</CODE></FONT></TD>
647 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getStateOk()">getStateOk</A></B>()</CODE>
648
649 <BR>
650 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether or not the state of the process is ok.  </TD>
651 </TR>
652 <TR BGCOLOR="white" CLASS="TableRowColor">
653 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
654 <CODE>&nbsp;boolean</CODE></FONT></TD>
655 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getStateTooManyErrors()">getStateTooManyErrors</A></B>()</CODE>
656
657 <BR>
658 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether or not the state of the process indicates too many errors.
659  </TD>
660 </TR>
661 <TR BGCOLOR="white" CLASS="TableRowColor">
662 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
663 <CODE>&nbsp;int</CODE></FONT></TD>
664 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#getType()">getType</A></B>()</CODE>
665
666 <BR>
667 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the process type.  </TD>
668 </TR>
669 <TR BGCOLOR="white" CLASS="TableRowColor">
670 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
671 <CODE>protected static&nbsp;void</CODE></FONT></TD>
672 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#reclaimProcessMemory()">reclaimProcessMemory</A></B>()</CODE>
673
674 <BR>
675 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reclaims all memory being saved by the process portion of the native 
676  library. </TD>
677 </TR>
678 <TR BGCOLOR="white" CLASS="TableRowColor">
679 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
680 <CODE>&nbsp;void</CODE></FONT></TD>
681 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#refresh()">refresh</A></B>()</CODE>
682
683 <BR>
684 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refreshes the properties of this Process object instance with values 
685  from the AFS process it represents.  </TD>
686 </TR>
687 <TR BGCOLOR="white" CLASS="TableRowColor">
688 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
689 <CODE>protected &nbsp;void</CODE></FONT></TD>
690 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#refresh(boolean)">refresh</A></B>(boolean&nbsp;all)</CODE>
691
692 <BR>
693 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refreshes the properties of this Process object instance with values from
694  the AFS process it represents.  </TD>
695 </TR>
696 <TR BGCOLOR="white" CLASS="TableRowColor">
697 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
698 <CODE>protected &nbsp;void</CODE></FONT></TD>
699 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#refreshInfo()">refreshInfo</A></B>()</CODE>
700
701 <BR>
702 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refreshes the information fields of this <code>Process</code> to reflect 
703  the current state of the AFS process, such as the start time, the state,
704  etc.</TD>
705 </TR>
706 <TR BGCOLOR="white" CLASS="TableRowColor">
707 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
708 <CODE>&nbsp;void</CODE></FONT></TD>
709 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#restart()">restart</A></B>()</CODE>
710
711 <BR>
712 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Restarts this process</TD>
713 </TR>
714 <TR BGCOLOR="white" CLASS="TableRowColor">
715 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
716 <CODE>protected static&nbsp;void</CODE></FONT></TD>
717 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#restart(int, java.lang.String)">restart</A></B>(int&nbsp;serverHandle,
718         <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)</CODE>
719
720 <BR>
721 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retart this process.</TD>
722 </TR>
723 <TR BGCOLOR="white" CLASS="TableRowColor">
724 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
725 <CODE>&nbsp;void</CODE></FONT></TD>
726 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#start()">start</A></B>()</CODE>
727
728 <BR>
729 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts this process</TD>
730 </TR>
731 <TR BGCOLOR="white" CLASS="TableRowColor">
732 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
733 <CODE>protected static&nbsp;void</CODE></FONT></TD>
734 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#start(int, java.lang.String)">start</A></B>(int&nbsp;serverHandle,
735       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)</CODE>
736
737 <BR>
738 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start this process.</TD>
739 </TR>
740 <TR BGCOLOR="white" CLASS="TableRowColor">
741 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
742 <CODE>&nbsp;void</CODE></FONT></TD>
743 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#stop()">stop</A></B>()</CODE>
744
745 <BR>
746 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stops this process.</TD>
747 </TR>
748 <TR BGCOLOR="white" CLASS="TableRowColor">
749 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
750 <CODE>protected static&nbsp;void</CODE></FONT></TD>
751 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#stop(int, java.lang.String)">stop</A></B>(int&nbsp;serverHandle,
752      <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)</CODE>
753
754 <BR>
755 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop this process.</TD>
756 </TR>
757 <TR BGCOLOR="white" CLASS="TableRowColor">
758 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
759 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
760 <TD><CODE><B><A HREF="../../../org/openafs/jafs/Process.html#toString()">toString</A></B>()</CODE>
761
762 <BR>
763 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of this <CODE>Process</CODE></TD>
764 </TR>
765 </TABLE>
766 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
767 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
768 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
769 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></B></TD>
770 </TR>
771 <TR BGCOLOR="white" CLASS="TableRowColor">
772 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
773 </TR>
774 </TABLE>
775 &nbsp;
776 <P>
777
778 <!-- ============ FIELD DETAIL =========== -->
779
780 <A NAME="field_detail"><!-- --></A>
781 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
782 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
783 <TD COLSPAN=1><FONT SIZE="+2">
784 <B>Field Detail</B></FONT></TD>
785 </TR>
786 </TABLE>
787
788 <A NAME="SIMPLE_PROCESS"><!-- --></A><H3>
789 SIMPLE_PROCESS</H3>
790 <PRE>
791 public static final int <B>SIMPLE_PROCESS</B></PRE>
792 <DL>
793 <DD>Any standard type of process except for fs (such as kaserver, 
794  upclientbin, etc.)
795 <P>
796 <DL>
797 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.SIMPLE_PROCESS">Constant Field Values</A></DL>
798 </DL>
799 <HR>
800
801 <A NAME="FS_PROCESS"><!-- --></A><H3>
802 FS_PROCESS</H3>
803 <PRE>
804 public static final int <B>FS_PROCESS</B></PRE>
805 <DL>
806 <DD>Combination of File Server, Volume Server, and Salvager processes
807 <P>
808 <DL>
809 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.FS_PROCESS">Constant Field Values</A></DL>
810 </DL>
811 <HR>
812
813 <A NAME="CRON_PROCESS"><!-- --></A><H3>
814 CRON_PROCESS</H3>
815 <PRE>
816 public static final int <B>CRON_PROCESS</B></PRE>
817 <DL>
818 <DD>A process that should be restarted at a specific time either daily 
819  or weekly.
820 <P>
821 <DL>
822 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.CRON_PROCESS">Constant Field Values</A></DL>
823 </DL>
824 <HR>
825
826 <A NAME="STOPPED"><!-- --></A><H3>
827 STOPPED</H3>
828 <PRE>
829 public static final int <B>STOPPED</B></PRE>
830 <DL>
831 <DD>Process execution state stopped
832 <P>
833 <DL>
834 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.STOPPED">Constant Field Values</A></DL>
835 </DL>
836 <HR>
837
838 <A NAME="RUNNING"><!-- --></A><H3>
839 RUNNING</H3>
840 <PRE>
841 public static final int <B>RUNNING</B></PRE>
842 <DL>
843 <DD>Process execution state running
844 <P>
845 <DL>
846 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.RUNNING">Constant Field Values</A></DL>
847 </DL>
848 <HR>
849
850 <A NAME="STOPPING"><!-- --></A><H3>
851 STOPPING</H3>
852 <PRE>
853 public static final int <B>STOPPING</B></PRE>
854 <DL>
855 <DD>Process execution state stopping
856 <P>
857 <DL>
858 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.STOPPING">Constant Field Values</A></DL>
859 </DL>
860 <HR>
861
862 <A NAME="STARTING"><!-- --></A><H3>
863 STARTING</H3>
864 <PRE>
865 public static final int <B>STARTING</B></PRE>
866 <DL>
867 <DD>Process execution state starting
868 <P>
869 <DL>
870 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.openafs.jafs.Process.STARTING">Constant Field Values</A></DL>
871 </DL>
872 <HR>
873
874 <A NAME="name"><!-- --></A><H3>
875 name</H3>
876 <PRE>
877 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>name</B></PRE>
878 <DL>
879 <DL>
880 </DL>
881 </DL>
882 <HR>
883
884 <A NAME="server"><!-- --></A><H3>
885 server</H3>
886 <PRE>
887 protected <A HREF="../../../org/openafs/jafs/Server.html">Server</A> <B>server</B></PRE>
888 <DL>
889 <DL>
890 </DL>
891 </DL>
892 <HR>
893
894 <A NAME="serverHandle"><!-- --></A><H3>
895 serverHandle</H3>
896 <PRE>
897 protected int <B>serverHandle</B></PRE>
898 <DL>
899 <DL>
900 </DL>
901 </DL>
902 <HR>
903
904 <A NAME="type"><!-- --></A><H3>
905 type</H3>
906 <PRE>
907 protected int <B>type</B></PRE>
908 <DL>
909 <DL>
910 </DL>
911 </DL>
912 <HR>
913
914 <A NAME="state"><!-- --></A><H3>
915 state</H3>
916 <PRE>
917 protected int <B>state</B></PRE>
918 <DL>
919 <DL>
920 </DL>
921 </DL>
922 <HR>
923
924 <A NAME="goal"><!-- --></A><H3>
925 goal</H3>
926 <PRE>
927 protected int <B>goal</B></PRE>
928 <DL>
929 <DL>
930 </DL>
931 </DL>
932 <HR>
933
934 <A NAME="startTime"><!-- --></A><H3>
935 startTime</H3>
936 <PRE>
937 protected long <B>startTime</B></PRE>
938 <DL>
939 <DL>
940 </DL>
941 </DL>
942 <HR>
943
944 <A NAME="numberStarts"><!-- --></A><H3>
945 numberStarts</H3>
946 <PRE>
947 protected long <B>numberStarts</B></PRE>
948 <DL>
949 <DL>
950 </DL>
951 </DL>
952 <HR>
953
954 <A NAME="exitTime"><!-- --></A><H3>
955 exitTime</H3>
956 <PRE>
957 protected long <B>exitTime</B></PRE>
958 <DL>
959 <DL>
960 </DL>
961 </DL>
962 <HR>
963
964 <A NAME="exitErrorTime"><!-- --></A><H3>
965 exitErrorTime</H3>
966 <PRE>
967 protected long <B>exitErrorTime</B></PRE>
968 <DL>
969 <DL>
970 </DL>
971 </DL>
972 <HR>
973
974 <A NAME="errorCode"><!-- --></A><H3>
975 errorCode</H3>
976 <PRE>
977 protected long <B>errorCode</B></PRE>
978 <DL>
979 <DL>
980 </DL>
981 </DL>
982 <HR>
983
984 <A NAME="errorSignal"><!-- --></A><H3>
985 errorSignal</H3>
986 <PRE>
987 protected long <B>errorSignal</B></PRE>
988 <DL>
989 <DL>
990 </DL>
991 </DL>
992 <HR>
993
994 <A NAME="stateOk"><!-- --></A><H3>
995 stateOk</H3>
996 <PRE>
997 protected boolean <B>stateOk</B></PRE>
998 <DL>
999 <DL>
1000 </DL>
1001 </DL>
1002 <HR>
1003
1004 <A NAME="stateTooManyErrors"><!-- --></A><H3>
1005 stateTooManyErrors</H3>
1006 <PRE>
1007 protected boolean <B>stateTooManyErrors</B></PRE>
1008 <DL>
1009 <DL>
1010 </DL>
1011 </DL>
1012 <HR>
1013
1014 <A NAME="stateBadFileAccess"><!-- --></A><H3>
1015 stateBadFileAccess</H3>
1016 <PRE>
1017 protected boolean <B>stateBadFileAccess</B></PRE>
1018 <DL>
1019 <DL>
1020 </DL>
1021 </DL>
1022 <HR>
1023
1024 <A NAME="startTimeDate"><!-- --></A><H3>
1025 startTimeDate</H3>
1026 <PRE>
1027 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>startTimeDate</B></PRE>
1028 <DL>
1029 <DL>
1030 </DL>
1031 </DL>
1032 <HR>
1033
1034 <A NAME="exitTimeDate"><!-- --></A><H3>
1035 exitTimeDate</H3>
1036 <PRE>
1037 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>exitTimeDate</B></PRE>
1038 <DL>
1039 <DL>
1040 </DL>
1041 </DL>
1042 <HR>
1043
1044 <A NAME="exitErrorTimeDate"><!-- --></A><H3>
1045 exitErrorTimeDate</H3>
1046 <PRE>
1047 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>exitErrorTimeDate</B></PRE>
1048 <DL>
1049 <DL>
1050 </DL>
1051 </DL>
1052 <HR>
1053
1054 <A NAME="cachedInfo"><!-- --></A><H3>
1055 cachedInfo</H3>
1056 <PRE>
1057 protected boolean <B>cachedInfo</B></PRE>
1058 <DL>
1059 <DL>
1060 </DL>
1061 </DL>
1062
1063 <!-- ========= CONSTRUCTOR DETAIL ======== -->
1064
1065 <A NAME="constructor_detail"><!-- --></A>
1066 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
1067 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1068 <TD COLSPAN=1><FONT SIZE="+2">
1069 <B>Constructor Detail</B></FONT></TD>
1070 </TR>
1071 </TABLE>
1072
1073 <A NAME="Process(java.lang.String, org.openafs.jafs.Server)"><!-- --></A><H3>
1074 Process</H3>
1075 <PRE>
1076 public <B>Process</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;name,
1077                <A HREF="../../../org/openafs/jafs/Server.html">Server</A>&nbsp;server)
1078         throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1079 <DL>
1080 <DD>Constructs a new <code>Process</code> object instance given the name 
1081  of the AFS process and the AFS server, represented by 
1082  <CODE>server</CODE>, to which it belongs.   This does not actually
1083  create a new AFS process, it just represents one.
1084  If <code>name</code> is not an actual AFS process, exceptions
1085  will be thrown during subsequent method invocations on this 
1086  object, unless one of the <A HREF="../../../org/openafs/jafs/Process.html#createSimple(java.lang.String)"><CODE>createSimple(String)</CODE></A>,
1087  <A HREF="../../../org/openafs/jafs/Process.html#createFS(java.lang.String)"><CODE>createFS(String)</CODE></A>, or <A HREF="../../../org/openafs/jafs/Process.html#createCron(java.lang.String, java.lang.String)"><CODE>createCron(String,String)</CODE></A> 
1088  methods are explicitly called to create it.
1089 <P>
1090 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the server to represent<DD><CODE>server</CODE> - the server on which the process resides
1091 <DT><B>Throws:</B>
1092 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1093 <HR>
1094
1095 <A NAME="Process(java.lang.String, org.openafs.jafs.Server, boolean)"><!-- --></A><H3>
1096 Process</H3>
1097 <PRE>
1098 public <B>Process</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;name,
1099                <A HREF="../../../org/openafs/jafs/Server.html">Server</A>&nbsp;server,
1100                boolean&nbsp;preloadAllMembers)
1101         throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1102 <DL>
1103 <DD>Constructs a new <CODE>Process</CODE> object instance given the name 
1104  of the AFS process and the AFS server, represented by 
1105  <CODE>server</CODE>, to which it belongs.  This does not actually
1106  create a new AFS process, it just represents one.
1107  If <code>name</code> is not an actual AFS process, exceptions
1108  will be thrown during subsequent method invocations on this 
1109  object, unless one of the <A HREF="../../../org/openafs/jafs/Process.html#createSimple(java.lang.String)"><CODE>createSimple(String)</CODE></A>,
1110  <A HREF="../../../org/openafs/jafs/Process.html#createFS(java.lang.String)"><CODE>createFS(String)</CODE></A>, or <A HREF="../../../org/openafs/jafs/Process.html#createCron(java.lang.String, java.lang.String)"><CODE>createCron(String,String)</CODE></A> 
1111  methods are explicitly called to create it.  Note that if he process
1112  doesn't exist and <code>preloadAllMembers</code> is true, an exception
1113  will be thrown.
1114
1115  <P> This constructor is ideal for point-in-time representation and 
1116  transient applications. It ensures all data member values are set and 
1117  available without calling back to the filesystem at the first request 
1118  for them.  Use the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method to address any coherency 
1119  concerns.
1120 <P>
1121 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the process to represent<DD><CODE>server</CODE> - the server to which the process belongs.<DD><CODE>preloadAllMembers</CODE> - true will ensure all object members are 
1122                            set upon construction; otherwise members will 
1123                            be set upon access, which is the default 
1124                            behavior.
1125 <DT><B>Throws:</B>
1126 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A></DL>
1127 <HR>
1128
1129 <A NAME="Process(org.openafs.jafs.Server)"><!-- --></A><H3>
1130 Process</H3>
1131 <PRE>
1132 <B>Process</B>(<A HREF="../../../org/openafs/jafs/Server.html">Server</A>&nbsp;server)
1133   throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1134 <DL>
1135 <DD>Creates a blank <code>Process</code> given the server to which the process
1136  belongs.  This blank object can then be passed into other methods to fill
1137  out its properties.
1138 <P>
1139 <DT><B>Parameters:</B><DD><CODE>server</CODE> - the server to which the process belongs.
1140 <DT><B>Throws:</B>
1141 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1142
1143 <!-- ============ METHOD DETAIL ========== -->
1144
1145 <A NAME="method_detail"><!-- --></A>
1146 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
1147 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
1148 <TD COLSPAN=1><FONT SIZE="+2">
1149 <B>Method Detail</B></FONT></TD>
1150 </TR>
1151 </TABLE>
1152
1153 <A NAME="refresh()"><!-- --></A><H3>
1154 refresh</H3>
1155 <PRE>
1156 public void <B>refresh</B>()
1157              throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1158 <DL>
1159 <DD>Refreshes the properties of this Process object instance with values 
1160  from the AFS process it represents.  All properties that have been 
1161  initialized and/or accessed will be renewed according to the values of 
1162  the AFS process this Process object instance represents.
1163
1164  <P>Since in most environments administrative changes can be administered
1165  from an AFS command-line program or an alternate GUI application, this
1166  method provides a means to refresh the Java object representation and
1167  thereby ascertain any possible modifications that may have been made
1168  from such alternate administrative programs.  Using this method before
1169  an associated instance accessor will ensure the highest level of 
1170  representative accuracy, accommodating changes made external to the
1171  Java application space.  If administrative changes to the underlying AFS 
1172  system are only allowed via this API, then the use of this method is 
1173  unnecessary.
1174 <P>
1175 <DD><DL>
1176 </DL>
1177 </DD>
1178 <DD><DL>
1179
1180 <DT><B>Throws:</B>
1181 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1182 </DD>
1183 </DL>
1184 <HR>
1185
1186 <A NAME="refresh(boolean)"><!-- --></A><H3>
1187 refresh</H3>
1188 <PRE>
1189 protected void <B>refresh</B>(boolean&nbsp;all)
1190                 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1191 <DL>
1192 <DD>Refreshes the properties of this Process object instance with values from
1193  the AFS process it represents.  If <CODE>all</CODE> is <CODE>true</CODE> 
1194  then <U>all</U> of the properties of this Process object instance will be
1195  set, or renewed, according to the values of the AFS process it represents,
1196  disregarding any previously set properties.
1197
1198  <P> Thus, if <CODE>all</CODE> is <CODE>false</CODE> then properties that 
1199  are currently set will be refreshed and properties that are not set will 
1200  remain uninitialized. See <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> for more information.
1201 <P>
1202 <DD><DL>
1203 </DL>
1204 </DD>
1205 <DD><DL>
1206 <DT><B>Parameters:</B><DD><CODE>all</CODE> - if true set or renew all object properties; otherwise renew 
1207               all set properties
1208 <DT><B>Throws:</B>
1209 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A></DL>
1210 </DD>
1211 </DL>
1212 <HR>
1213
1214 <A NAME="refreshInfo()"><!-- --></A><H3>
1215 refreshInfo</H3>
1216 <PRE>
1217 protected void <B>refreshInfo</B>()
1218                     throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1219 <DL>
1220 <DD>Refreshes the information fields of this <code>Process</code> to reflect 
1221  the current state of the AFS process, such as the start time, the state,
1222  etc.
1223 <P>
1224 <DD><DL>
1225 </DL>
1226 </DD>
1227 <DD><DL>
1228
1229 <DT><B>Throws:</B>
1230 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1231 </DD>
1232 </DL>
1233 <HR>
1234
1235 <A NAME="createSimple(java.lang.String)"><!-- --></A><H3>
1236 createSimple</H3>
1237 <PRE>
1238 public void <B>createSimple</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath)
1239                   throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1240 <DL>
1241 <DD>Creates this process as a simple process on the server.
1242 <P>
1243 <DD><DL>
1244 </DL>
1245 </DD>
1246 <DD><DL>
1247 <DT><B>Parameters:</B><DD><CODE>executionPath</CODE> - the path to the process's executable
1248 <DT><B>Throws:</B>
1249 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1250 </DD>
1251 </DL>
1252 <HR>
1253
1254 <A NAME="createFS(java.lang.String)"><!-- --></A><H3>
1255 createFS</H3>
1256 <PRE>
1257 public void <B>createFS</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath)
1258               throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1259 <DL>
1260 <DD>Creates this process as a file server process on the server.
1261 <P>
1262 <DD><DL>
1263 </DL>
1264 </DD>
1265 <DD><DL>
1266 <DT><B>Parameters:</B><DD><CODE>executionPath</CODE> - the path to the process's executable
1267 <DT><B>Throws:</B>
1268 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1269 </DD>
1270 </DL>
1271 <HR>
1272
1273 <A NAME="createCron(java.lang.String, java.lang.String)"><!-- --></A><H3>
1274 createCron</H3>
1275 <PRE>
1276 public void <B>createCron</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath,
1277                        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;cronTime)
1278                 throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1279 <DL>
1280 <DD>Creates this process as a cron process on the server.
1281 <P>
1282 <DD><DL>
1283 </DL>
1284 </DD>
1285 <DD><DL>
1286 <DT><B>Parameters:</B><DD><CODE>executionPath</CODE> - the path to the process's executable<DD><CODE>cronTime</CODE> - a String representing the time a cron process is 
1287                    to be run.  Acceptable formats are:<ul>
1288                    <li>for daily restarts: "23:10" or "11:10 pm"</li>
1289                    <li>for weekly restarts: "sunday 11:10pm" or 
1290                        "sun 11:10pm"</li>
1291                    </ul>
1292 <DT><B>Throws:</B>
1293 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1294 </DD>
1295 </DL>
1296 <HR>
1297
1298 <A NAME="delete()"><!-- --></A><H3>
1299 delete</H3>
1300 <PRE>
1301 public void <B>delete</B>()
1302             throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1303 <DL>
1304 <DD>Removes this process from the bos server
1305 <P>
1306 <DD><DL>
1307 </DL>
1308 </DD>
1309 <DD><DL>
1310
1311 <DT><B>Throws:</B>
1312 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1313 </DD>
1314 </DL>
1315 <HR>
1316
1317 <A NAME="stop()"><!-- --></A><H3>
1318 stop</H3>
1319 <PRE>
1320 public void <B>stop</B>()
1321           throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1322 <DL>
1323 <DD>Stops this process.
1324 <P>
1325 <DD><DL>
1326 </DL>
1327 </DD>
1328 <DD><DL>
1329
1330 <DT><B>Throws:</B>
1331 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1332 </DD>
1333 </DL>
1334 <HR>
1335
1336 <A NAME="start()"><!-- --></A><H3>
1337 start</H3>
1338 <PRE>
1339 public void <B>start</B>()
1340            throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1341 <DL>
1342 <DD>Starts this process
1343 <P>
1344 <DD><DL>
1345 </DL>
1346 </DD>
1347 <DD><DL>
1348
1349 <DT><B>Throws:</B>
1350 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1351 </DD>
1352 </DL>
1353 <HR>
1354
1355 <A NAME="restart()"><!-- --></A><H3>
1356 restart</H3>
1357 <PRE>
1358 public void <B>restart</B>()
1359              throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1360 <DL>
1361 <DD>Restarts this process
1362 <P>
1363 <DD><DL>
1364 </DL>
1365 </DD>
1366 <DD><DL>
1367
1368 <DT><B>Throws:</B>
1369 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1370 </DD>
1371 </DL>
1372 <HR>
1373
1374 <A NAME="getName()"><!-- --></A><H3>
1375 getName</H3>
1376 <PRE>
1377 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE>
1378 <DL>
1379 <DD>Returns the name of this process.
1380 <P>
1381 <DD><DL>
1382 </DL>
1383 </DD>
1384 <DD><DL>
1385
1386 <DT><B>Returns:</B><DD>the name of this process</DL>
1387 </DD>
1388 </DL>
1389 <HR>
1390
1391 <A NAME="getServer()"><!-- --></A><H3>
1392 getServer</H3>
1393 <PRE>
1394 public <A HREF="../../../org/openafs/jafs/Server.html">Server</A> <B>getServer</B>()</PRE>
1395 <DL>
1396 <DD>Returns the server hosting this process.
1397 <P>
1398 <DD><DL>
1399 </DL>
1400 </DD>
1401 <DD><DL>
1402
1403 <DT><B>Returns:</B><DD>this process' server</DL>
1404 </DD>
1405 </DL>
1406 <HR>
1407
1408 <A NAME="getType()"><!-- --></A><H3>
1409 getType</H3>
1410 <PRE>
1411 public int <B>getType</B>()
1412             throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1413 <DL>
1414 <DD>Returns the process type.  Possible values are:<ul>
1415       <li><A HREF="../../../org/openafs/jafs/Process.html#SIMPLE_PROCESS"><CODE>SIMPLE_PROCESS</CODE></A></li>
1416       <li><A HREF="../../../org/openafs/jafs/Process.html#FS_PROCESS"><CODE>FS_PROCESS</CODE></A></li>
1417       <li><A HREF="../../../org/openafs/jafs/Process.html#CRON_PROCESS"><CODE>CRON_PROCESS</CODE></A></li></ul>
1418 <P>
1419 <DD><DL>
1420 </DL>
1421 </DD>
1422 <DD><DL>
1423
1424 <DT><B>Returns:</B><DD>the process type
1425 <DT><B>Throws:</B>
1426 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1427 </DD>
1428 </DL>
1429 <HR>
1430
1431 <A NAME="getGoal()"><!-- --></A><H3>
1432 getGoal</H3>
1433 <PRE>
1434 public int <B>getGoal</B>()
1435             throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1436 <DL>
1437 <DD>Returns the process goal.  Possible values are:<ul>
1438       <li><A HREF="../../../org/openafs/jafs/Process.html#STOPPED"><CODE>STOPPED</CODE></A></li>
1439       <li><A HREF="../../../org/openafs/jafs/Process.html#RUNNING"><CODE>RUNNING</CODE></A></li>
1440       <li><A HREF="../../../org/openafs/jafs/Process.html#STARTING"><CODE>STARTING</CODE></A></li>
1441       <li><A HREF="../../../org/openafs/jafs/Process.html#STOPPING"><CODE>STOPPING</CODE></A></li></ul>
1442  After this method is called once, it saves the value 
1443  and returns that value on subsequent calls, 
1444  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1445  value is obtained.
1446 <P>
1447 <DD><DL>
1448 </DL>
1449 </DD>
1450 <DD><DL>
1451
1452 <DT><B>Returns:</B><DD>the process goal
1453 <DT><B>Throws:</B>
1454 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1455 </DD>
1456 </DL>
1457 <HR>
1458
1459 <A NAME="getState()"><!-- --></A><H3>
1460 getState</H3>
1461 <PRE>
1462 public int <B>getState</B>()
1463              throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1464 <DL>
1465 <DD>Returns the process execution state.  Possible values are:<ul>
1466       <li><A HREF="../../../org/openafs/jafs/Process.html#STOPPED"><CODE>STOPPED</CODE></A></li>
1467       <li><A HREF="../../../org/openafs/jafs/Process.html#RUNNING"><CODE>RUNNING</CODE></A></li>
1468       <li><A HREF="../../../org/openafs/jafs/Process.html#STARTING"><CODE>STARTING</CODE></A></li>
1469       <li><A HREF="../../../org/openafs/jafs/Process.html#STOPPING"><CODE>STOPPING</CODE></A></li></ul>
1470  After this method is called once, it saves the value 
1471  and returns that value on subsequent calls, 
1472  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1473  value is obtained.
1474 <P>
1475 <DD><DL>
1476 </DL>
1477 </DD>
1478 <DD><DL>
1479
1480 <DT><B>Returns:</B><DD>the process execution state
1481 <DT><B>Throws:</B>
1482 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1483 </DD>
1484 </DL>
1485 <HR>
1486
1487 <A NAME="getStartTime()"><!-- --></A><H3>
1488 getStartTime</H3>
1489 <PRE>
1490 public long <B>getStartTime</B>()
1491                   throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1492 <DL>
1493 <DD>Returns the most recent start time of this process.  A 
1494  <code>null</code> value 
1495  indicates no start time.
1496  After this method is called once, it saves the value 
1497  and returns that value on subsequent calls, 
1498  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1499  value is obtained.
1500 <P>
1501 <DD><DL>
1502 </DL>
1503 </DD>
1504 <DD><DL>
1505
1506 <DT><B>Returns:</B><DD>the start time
1507 <DT><B>Throws:</B>
1508 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1509 </DD>
1510 </DL>
1511 <HR>
1512
1513 <A NAME="getStartTimeDate()"><!-- --></A><H3>
1514 getStartTimeDate</H3>
1515 <PRE>
1516 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getStartTimeDate</B>()
1517                                    throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1518 <DL>
1519 <DD>Returns the most recent start time of this process.  A <code>null</code> 
1520  value indicates no start time.
1521  After this method is called once, it saves the value 
1522  and returns that value on subsequent calls, 
1523  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1524  value is obtained.
1525 <P>
1526 <DD><DL>
1527 </DL>
1528 </DD>
1529 <DD><DL>
1530
1531 <DT><B>Returns:</B><DD>the start time
1532 <DT><B>Throws:</B>
1533 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1534 </DD>
1535 </DL>
1536 <HR>
1537
1538 <A NAME="getNumberOfStarts()"><!-- --></A><H3>
1539 getNumberOfStarts</H3>
1540 <PRE>
1541 public long <B>getNumberOfStarts</B>()
1542                        throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1543 <DL>
1544 <DD>Returns the number of starts of the process.
1545  After this method is called once, it saves the value 
1546  and returns that value on subsequent calls, 
1547  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1548  value is obtained.
1549 <P>
1550 <DD><DL>
1551 </DL>
1552 </DD>
1553 <DD><DL>
1554
1555 <DT><B>Returns:</B><DD>the number of starts
1556 <DT><B>Throws:</B>
1557 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1558 </DD>
1559 </DL>
1560 <HR>
1561
1562 <A NAME="getExitTime()"><!-- --></A><H3>
1563 getExitTime</H3>
1564 <PRE>
1565 public long <B>getExitTime</B>()
1566                  throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1567 <DL>
1568 <DD>Returns the most recent exit time of this process.  A <code>null</code> 
1569  value indicates no exit time.
1570  After this method is called once, it saves the value 
1571  and returns that value on subsequent calls, 
1572  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1573  value is obtained.
1574 <P>
1575 <DD><DL>
1576 </DL>
1577 </DD>
1578 <DD><DL>
1579
1580 <DT><B>Returns:</B><DD>the exit time
1581 <DT><B>Throws:</B>
1582 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1583 </DD>
1584 </DL>
1585 <HR>
1586
1587 <A NAME="getExitTimeDate()"><!-- --></A><H3>
1588 getExitTimeDate</H3>
1589 <PRE>
1590 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getExitTimeDate</B>()
1591                                   throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1592 <DL>
1593 <DD>Returns the most recent exit time of this process.  A <code>null</code> 
1594  value indicates no exit time
1595  After this method is called once, it saves the value 
1596  and returns that value on subsequent calls, 
1597  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1598  value is obtained.
1599 <P>
1600 <DD><DL>
1601 </DL>
1602 </DD>
1603 <DD><DL>
1604
1605 <DT><B>Returns:</B><DD>the exit time
1606 <DT><B>Throws:</B>
1607 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1608 </DD>
1609 </DL>
1610 <HR>
1611
1612 <A NAME="getExitErrorTime()"><!-- --></A><H3>
1613 getExitErrorTime</H3>
1614 <PRE>
1615 public long <B>getExitErrorTime</B>()
1616                       throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1617 <DL>
1618 <DD>Returns the most recent time this process exited with an error.  A 
1619  <code>null</code> value indicates no exit w/ error time.
1620  After this method is called once, it saves the value 
1621  and returns that value on subsequent calls, 
1622  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1623  value is obtained.
1624 <P>
1625 <DD><DL>
1626 </DL>
1627 </DD>
1628 <DD><DL>
1629
1630 <DT><B>Returns:</B><DD>the exit w/ error time
1631 <DT><B>Throws:</B>
1632 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1633 </DD>
1634 </DL>
1635 <HR>
1636
1637 <A NAME="getExitErrorTimeDate()"><!-- --></A><H3>
1638 getExitErrorTimeDate</H3>
1639 <PRE>
1640 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/GregorianCalendar.html">GregorianCalendar</A> <B>getExitErrorTimeDate</B>()
1641                                        throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1642 <DL>
1643 <DD>Returns the most recent time this process exited with an error.  A <
1644  code>null</code> value indicates no exit w/ error time.
1645  After this method is called once, it saves the value 
1646  and returns that value on subsequent calls, 
1647  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1648  value is obtained.
1649 <P>
1650 <DD><DL>
1651 </DL>
1652 </DD>
1653 <DD><DL>
1654
1655 <DT><B>Returns:</B><DD>the exit w/ error time
1656 <DT><B>Throws:</B>
1657 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1658 </DD>
1659 </DL>
1660 <HR>
1661
1662 <A NAME="getErrorCode()"><!-- --></A><H3>
1663 getErrorCode</H3>
1664 <PRE>
1665 public long <B>getErrorCode</B>()
1666                   throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1667 <DL>
1668 <DD>Returns the error code of the process.  A value of 0 indicates 
1669  no error code.
1670  After this method is called once, it saves the value 
1671  and returns that value on subsequent calls, 
1672  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1673  value is obtained.
1674 <P>
1675 <DD><DL>
1676 </DL>
1677 </DD>
1678 <DD><DL>
1679
1680 <DT><B>Returns:</B><DD>the error code
1681 <DT><B>Throws:</B>
1682 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1683 </DD>
1684 </DL>
1685 <HR>
1686
1687 <A NAME="getErrorSignal()"><!-- --></A><H3>
1688 getErrorSignal</H3>
1689 <PRE>
1690 public long <B>getErrorSignal</B>()
1691                     throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1692 <DL>
1693 <DD>Returns the error signal of the process.  A value of 0 indicates no 
1694  error signal.
1695  After this method is called once, it saves the value 
1696  and returns that value on subsequent calls, 
1697  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1698  value is obtained.
1699 <P>
1700 <DD><DL>
1701 </DL>
1702 </DD>
1703 <DD><DL>
1704
1705 <DT><B>Returns:</B><DD>the error signal
1706 <DT><B>Throws:</B>
1707 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1708 </DD>
1709 </DL>
1710 <HR>
1711
1712 <A NAME="getStateOk()"><!-- --></A><H3>
1713 getStateOk</H3>
1714 <PRE>
1715 public boolean <B>getStateOk</B>()
1716                    throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1717 <DL>
1718 <DD>Returns whether or not the state of the process is ok.  A value of 
1719  <code>false</code> indicates there has been a core dump.
1720  After this method is called once, it saves the value 
1721  and returns that value on subsequent calls, 
1722  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1723  value is obtained.
1724 <P>
1725 <DD><DL>
1726 </DL>
1727 </DD>
1728 <DD><DL>
1729
1730 <DT><B>Returns:</B><DD>whether or not the state is ok
1731 <DT><B>Throws:</B>
1732 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1733 </DD>
1734 </DL>
1735 <HR>
1736
1737 <A NAME="getStateTooManyErrors()"><!-- --></A><H3>
1738 getStateTooManyErrors</H3>
1739 <PRE>
1740 public boolean <B>getStateTooManyErrors</B>()
1741                               throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1742 <DL>
1743 <DD>Returns whether or not the state of the process indicates too many errors.
1744  After this method is called once, it saves the value 
1745  and returns that value on subsequent calls, 
1746  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1747  value is obtained.
1748 <P>
1749 <DD><DL>
1750 </DL>
1751 </DD>
1752 <DD><DL>
1753
1754 <DT><B>Returns:</B><DD>whether or not the state indicates too many errors
1755 <DT><B>Throws:</B>
1756 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1757 </DD>
1758 </DL>
1759 <HR>
1760
1761 <A NAME="getStateBadFileAccess()"><!-- --></A><H3>
1762 getStateBadFileAccess</H3>
1763 <PRE>
1764 public boolean <B>getStateBadFileAccess</B>()
1765                               throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1766 <DL>
1767 <DD>Returns whether or not the state of the process indicates bad file access.
1768  After this method is called once, it saves the value 
1769  and returns that value on subsequent calls, 
1770  until the <A HREF="../../../org/openafs/jafs/Process.html#refresh()"><CODE>refresh()</CODE></A> method is called and a more current 
1771  value is obtained.
1772 <P>
1773 <DD><DL>
1774 </DL>
1775 </DD>
1776 <DD><DL>
1777
1778 <DT><B>Returns:</B><DD>whether or not the state indicates bad file access
1779 <DT><B>Throws:</B>
1780 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code</DL>
1781 </DD>
1782 </DL>
1783 <HR>
1784
1785 <A NAME="getInfo()"><!-- --></A><H3>
1786 getInfo</H3>
1787 <PRE>
1788 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>getInfo</B>()</PRE>
1789 <DL>
1790 <DD>Returns a <code>String</code> representation of this <code>Process</code>.
1791  Contains the information fields.
1792 <P>
1793 <DD><DL>
1794 </DL>
1795 </DD>
1796 <DD><DL>
1797
1798 <DT><B>Returns:</B><DD>a <code>String</code> representation of the <code>Process</code></DL>
1799 </DD>
1800 </DL>
1801 <HR>
1802
1803 <A NAME="compareTo(org.openafs.jafs.Process)"><!-- --></A><H3>
1804 compareTo</H3>
1805 <PRE>
1806 public int <B>compareTo</B>(<A HREF="../../../org/openafs/jafs/Process.html">Process</A>&nbsp;process)</PRE>
1807 <DL>
1808 <DD>Compares two Process objects respective to their names and does not
1809  factor any other attribute.    Alphabetic case is significant in 
1810  comparing names.
1811 <P>
1812 <DD><DL>
1813 </DL>
1814 </DD>
1815 <DD><DL>
1816 <DT><B>Parameters:</B><DD><CODE>process</CODE> - The Process object to be compared to this Process 
1817                        instance
1818 <DT><B>Returns:</B><DD>Zero if the argument is equal to this Process' name, a
1819                 value less than zero if this Process' name is
1820                 lexicographically less than the argument, or a value greater
1821                 than zero if this Process' name is lexicographically
1822                 greater than the argument</DL>
1823 </DD>
1824 </DL>
1825 <HR>
1826
1827 <A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
1828 compareTo</H3>
1829 <PRE>
1830 public int <B>compareTo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A>&nbsp;obj)</PRE>
1831 <DL>
1832 <DD>Comparable interface method.
1833 <P>
1834 <DD><DL>
1835 <DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html">Comparable</A></CODE></DL>
1836 </DD>
1837 <DD><DL>
1838 <DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Process.html#compareTo(org.openafs.jafs.Process)"><CODE>compareTo(Process)</CODE></A></DL>
1839 </DD>
1840 </DL>
1841 <HR>
1842
1843 <A NAME="equals(org.openafs.jafs.Process)"><!-- --></A><H3>
1844 equals</H3>
1845 <PRE>
1846 public boolean <B>equals</B>(<A HREF="../../../org/openafs/jafs/Process.html">Process</A>&nbsp;otherProcess)</PRE>
1847 <DL>
1848 <DD>Tests whether two <code>Process</code> objects are equal, based on their 
1849  names and hosting server.
1850 <P>
1851 <DD><DL>
1852 </DL>
1853 </DD>
1854 <DD><DL>
1855 <DT><B>Parameters:</B><DD><CODE>otherProcess</CODE> - the Process to test
1856 <DT><B>Returns:</B><DD>whether the specifed Process is the same as this Process</DL>
1857 </DD>
1858 </DL>
1859 <HR>
1860
1861 <A NAME="toString()"><!-- --></A><H3>
1862 toString</H3>
1863 <PRE>
1864 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
1865 <DL>
1866 <DD>Returns the name of this <CODE>Process</CODE>
1867 <P>
1868 <DD><DL>
1869 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html">Object</A></CODE></DL>
1870 </DD>
1871 <DD><DL>
1872
1873 <DT><B>Returns:</B><DD>the name of this <CODE>Process</CODE></DL>
1874 </DD>
1875 </DL>
1876 <HR>
1877
1878 <A NAME="getProcessInfo(int, java.lang.String, org.openafs.jafs.Process)"><!-- --></A><H3>
1879 getProcessInfo</H3>
1880 <PRE>
1881 protected static void <B>getProcessInfo</B>(int&nbsp;cellHandle,
1882                                      <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName,
1883                                      <A HREF="../../../org/openafs/jafs/Process.html">Process</A>&nbsp;theProcess)
1884                               throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1885 <DL>
1886 <DD>Fills in the information fields of the provided <code>Process</code>.
1887 <P>
1888 <DD><DL>
1889 </DL>
1890 </DD>
1891 <DD><DL>
1892 <DT><B>Parameters:</B><DD><CODE>cellHandle</CODE> - the handle of the cell to which the process belongs<DD><CODE>processName</CODE> - the instance name of the process  for which to get
1893                         the information<DD><CODE>theProcess</CODE> - the <A HREF="../../../org/openafs/jafs/Process.html"><CODE>Process</CODE></A> object in which to fill 
1894                        in the information
1895 <DT><B>Throws:</B>
1896 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Cell.html#getCellHandle()"><CODE>Cell.getCellHandle()</CODE></A></DL>
1897 </DD>
1898 </DL>
1899 <HR>
1900
1901 <A NAME="create(int, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
1902 create</H3>
1903 <PRE>
1904 protected static void <B>create</B>(int&nbsp;serverHandle,
1905                              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName,
1906                              int&nbsp;processType,
1907                              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;executionPath,
1908                              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;cronTime,
1909                              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;notifier)
1910                       throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1911 <DL>
1912 <DD>Creates a processes on a server.
1913 <P>
1914 <DD><DL>
1915 </DL>
1916 </DD>
1917 <DD><DL>
1918 <DT><B>Parameters:</B><DD><CODE>serverHandle</CODE> - the bos handle of the server to which the key will 
1919                       belong<DD><CODE>processName</CODE> - the instance name to give the process.  See AFS 
1920                      documentation for a standard list of instance names<DD><CODE>processType</CODE> - the type of process this will be. 
1921                      Acceptable values are:<ul>
1922                      <li><A HREF="../../../org/openafs/jafs/Process.html#SIMPLE_PROCESS"><CODE>SIMPLE_PROCESS</CODE></A></li>
1923                      <li><A HREF="../../../org/openafs/jafs/Process.html#FS_PROCESS"><CODE>FS_PROCESS</CODE></A></li>
1924                      <li><A HREF="../../../org/openafs/jafs/Process.html#CRON_PROCESS"><CODE>CRON_PROCESS</CODE></A></li></ul><DD><CODE>executionPath</CODE> - the execution path process to create<DD><CODE>cronTime</CODE> - a String representing the time a cron process is to 
1925                    be run.  Acceptable formats are:<ul>
1926                    <li>for daily restarts: "23:10" or "11:10 pm"</li>
1927                    <li>for weekly restarts: "sunday 11:10pm" or 
1928                        "sun 11:10pm"</li>
1929                    </ul>
1930                    Can be <code>null</code> for non-cron processes.<DD><CODE>notifier</CODE> - the execution path to a notifier program that should 
1931                    be called when the process terminates.  Can be 
1932                    <code>null</code>
1933 <DT><B>Throws:</B>
1934 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.html#getBosServerHandle(int, java.lang.String)"><CODE>Server.getBosServerHandle(int, java.lang.String)</CODE></A></DL>
1935 </DD>
1936 </DL>
1937 <HR>
1938
1939 <A NAME="delete(int, java.lang.String)"><!-- --></A><H3>
1940 delete</H3>
1941 <PRE>
1942 protected static void <B>delete</B>(int&nbsp;serverHandle,
1943                              <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)
1944                       throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1945 <DL>
1946 <DD>Removes a process from a server.
1947 <P>
1948 <DD><DL>
1949 </DL>
1950 </DD>
1951 <DD><DL>
1952 <DT><B>Parameters:</B><DD><CODE>serverHandle</CODE> - the bos handle of the server to which the process 
1953                       belongs<DD><CODE>processName</CODE> - the name of the process to remove
1954 <DT><B>Throws:</B>
1955 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.html#getBosServerHandle(int, java.lang.String)"><CODE>Server.getBosServerHandle(int, java.lang.String)</CODE></A></DL>
1956 </DD>
1957 </DL>
1958 <HR>
1959
1960 <A NAME="start(int, java.lang.String)"><!-- --></A><H3>
1961 start</H3>
1962 <PRE>
1963 protected static void <B>start</B>(int&nbsp;serverHandle,
1964                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)
1965                      throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1966 <DL>
1967 <DD>Start this process.
1968 <P>
1969 <DD><DL>
1970 </DL>
1971 </DD>
1972 <DD><DL>
1973 <DT><B>Parameters:</B><DD><CODE>serverHandle</CODE> - the bos handle of the server to which the process 
1974                       belongs<DD><CODE>processName</CODE> - the name of the process to start
1975 <DT><B>Throws:</B>
1976 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.html#getBosServerHandle(int, java.lang.String)"><CODE>Server.getBosServerHandle(int, java.lang.String)</CODE></A></DL>
1977 </DD>
1978 </DL>
1979 <HR>
1980
1981 <A NAME="restart(int, java.lang.String)"><!-- --></A><H3>
1982 restart</H3>
1983 <PRE>
1984 protected static void <B>restart</B>(int&nbsp;serverHandle,
1985                               <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)
1986                        throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
1987 <DL>
1988 <DD>Retart this process.
1989 <P>
1990 <DD><DL>
1991 </DL>
1992 </DD>
1993 <DD><DL>
1994 <DT><B>Parameters:</B><DD><CODE>serverHandle</CODE> - the bos handle of the server to which the process 
1995                       belongs<DD><CODE>processName</CODE> - the name of the process to restart
1996 <DT><B>Throws:</B>
1997 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.html#getBosServerHandle(int, java.lang.String)"><CODE>Server.getBosServerHandle(int, java.lang.String)</CODE></A></DL>
1998 </DD>
1999 </DL>
2000 <HR>
2001
2002 <A NAME="stop(int, java.lang.String)"><!-- --></A><H3>
2003 stop</H3>
2004 <PRE>
2005 protected static void <B>stop</B>(int&nbsp;serverHandle,
2006                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html">String</A>&nbsp;processName)
2007                     throws <A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></PRE>
2008 <DL>
2009 <DD>Stop this process.
2010 <P>
2011 <DD><DL>
2012 </DL>
2013 </DD>
2014 <DD><DL>
2015 <DT><B>Parameters:</B><DD><CODE>serverHandle</CODE> - the bos handle of the server to which the process 
2016                       belongs<DD><CODE>processName</CODE> - the name of the process to stop
2017 <DT><B>Throws:</B>
2018 <DD><CODE><A HREF="../../../org/openafs/jafs/AFSException.html">AFSException</A></CODE> - If an error occurs in the native code<DT><B>See Also:</B><DD><A HREF="../../../org/openafs/jafs/Server.html#getBosServerHandle(int, java.lang.String)"><CODE>Server.getBosServerHandle(int, java.lang.String)</CODE></A></DL>
2019 </DD>
2020 </DL>
2021 <HR>
2022
2023 <A NAME="reclaimProcessMemory()"><!-- --></A><H3>
2024 reclaimProcessMemory</H3>
2025 <PRE>
2026 protected static void <B>reclaimProcessMemory</B>()</PRE>
2027 <DL>
2028 <DD>Reclaims all memory being saved by the process portion of the native 
2029  library. This method should be called when no more <code>Process</code> 
2030  objects are expected to be used.
2031 <P>
2032 <DD><DL>
2033 </DL>
2034 </DD>
2035 <DD><DL>
2036 </DL>
2037 </DD>
2038 </DL>
2039 <!-- ========= END OF CLASS DATA ========= -->
2040 <HR>
2041
2042 <!-- ========== START OF NAVBAR ========== -->
2043 <A NAME="navbar_bottom"><!-- --></A>
2044 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
2045 <TR>
2046 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
2047 <A NAME="navbar_bottom_firstrow"><!-- --></A>
2048 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
2049   <TR ALIGN="center" VALIGN="top">
2050   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2051   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
2052   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Process.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
2053   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2054   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
2055   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
2056   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
2057   </TR>
2058 </TABLE>
2059 </TD>
2060 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2061 <B>JAFS API v2</B></EM>
2062 </TD>
2063 </TR>
2064
2065 <TR>
2066 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2067 &nbsp;<A HREF="../../../org/openafs/jafs/Partition.html"><B>PREV CLASS</B></A>&nbsp;
2068 &nbsp;<A HREF="../../../org/openafs/jafs/Server.html"><B>NEXT CLASS</B></A></FONT></TD>
2069 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2070   <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
2071 &nbsp;<A HREF="Process.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
2072 &nbsp;
2073 <SCRIPT>
2074   <!--
2075   if(window==top) {
2076     document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
2077   }
2078   //-->
2079 </SCRIPT>
2080 <NOSCRIPT>
2081 <A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
2082 </NOSCRIPT>
2083 </FONT></TD>
2084 </TR>
2085 <TR>
2086 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2087   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
2088 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2089 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
2090 </TR>
2091 </TABLE>
2092 <!-- =========== END OF NAVBAR =========== -->
2093
2094 <HR>
2095
2096 </BODY>
2097 </HTML>