⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jremotethread.html

📁 JAMPACK Grid programming
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="JRemoteThread(JAMPack.RemoteMonitor)"><!-- --></A><H3>
JRemoteThread</H3>
<PRE>
public <B>JRemoteThread</B>(JAMPack.RemoteMonitor&nbsp;lock)
              throws java.rmi.RemoteException</PRE>
<DL>
<DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DL>
<HR>

<A NAME="JRemoteThread(int, int, JAMPack.Task, JAMPack.RemoteMonitor)"><!-- --></A><H3>
JRemoteThread</H3>
<PRE>
public <B>JRemoteThread</B>(int&nbsp;rank,
                     int&nbsp;size,
                     <A HREF="../JAMPack/Task.html" title="interface in JAMPack">Task</A>&nbsp;task,
                     JAMPack.RemoteMonitor&nbsp;lock)
              throws java.rmi.RemoteException</PRE>
<DL>
<DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="run()"><!-- --></A><H3>
run</H3>
<PRE>
public void <B>run</B>()</PRE>
<DL>
<DD>The Runnable method that runs in aseperate remote thread. This executes the user task
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="initialise(int, int, JAMPack.Task)"><!-- --></A><H3>
initialise</H3>
<PRE>
public void <B>initialise</B>(int&nbsp;rank,
                       int&nbsp;size,
                       <A HREF="../JAMPack/Task.html" title="interface in JAMPack">Task</A>&nbsp;task)
                throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to initialise and reset the remote thread
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#initialise(int, int, JAMPack.Task)">initialise</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="stop()"><!-- --></A><H3>
stop</H3>
<PRE>
public void <B>stop</B>()
          throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to stop the remote thread
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#stop()">stop</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="start()"><!-- --></A><H3>
start</H3>
<PRE>
public void <B>start</B>()
           throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to start a fresh remote thread. unlike the convectional start method this can be reused provide the remote thread is valid
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#start()">start</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()
                         throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to get the name of the remote thread
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setPriority(int)"><!-- --></A><H3>
setPriority</H3>
<PRE>
public void <B>setPriority</B>(int&nbsp;newPriority)
                 throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method set priority to the remote thread. The priority is with respect to the remote machine's scheduler and JVM
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#setPriority(int)">setPriority</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="suspend()"><!-- --></A><H3>
suspend</H3>
<PRE>
public void <B>suspend</B>()
             throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to suspend the remote thread
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#suspend()">suspend</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="resume()"><!-- --></A><H3>
resume</H3>
<PRE>
public void <B>resume</B>()
            throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to resume suspended remote threads
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#resume()">resume</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isAlive()"><!-- --></A><H3>
isAlive</H3>
<PRE>
public boolean <B>isAlive</B>()
                throws java.rmi.RemoteException</PRE>
<DL>
<DD>Remote method to check the life of the remote thread
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../JAMPack/RemoteThread.html#isAlive()">isAlive</A></CODE> in interface <CODE><A HREF="../JAMPack/RemoteThread.html" title="interface in JAMPack">RemoteThread</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.rmi.RemoteException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../JAMPack/JRemoteMonitor.html" title="class in JAMPack"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../JAMPack/JWebserver.html" title="class in JAMPack"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../index.html?JAMPack/JRemoteThread.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JRemoteThread.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.rmi.server.RemoteObject">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -