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

📄 monitormanager.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>peerGroup</CODE> - The PeerGroup from which this Module can obtain services.  If this module is a service, this is also the PeerGroup of which this  module is a service.<DD><CODE>assignedID</CODE> - Identity of Module within group.  modules can use it as a the root of their namespace to create  names that are unique within the group but predictible by the  same module on another peer. This is normaly the ModuleClassID  which is also the name under which the module is known by other  modules. For a group it is the PeerGroupID itself.  The parameters of a service, in the Peer configuration, are indexed  by the assignedID of that service, and a Service must publish its  run-time parameters in the Peer Advertisement under its assigned ID.<DD><CODE>implAdvertisement</CODE> - The implementation advertisement for this  Module. It is permissible to pass null if no implementation  advertisement is available. This may happen if the  implementation was selected by explicit class name rather than  by following an implementation advertisement. Modules are not  required to support that style of loading, but if they do, then  their documentation should mention it.</DL></DD></DL><HR><A NAME="startApp(java.lang.String[])"><!-- --></A><H3>startApp</H3><PRE>public int <B>startApp</B>(java.lang.String[]&nbsp;args)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE></B></DD><DD>Some Modules will wait for this method being invoked, before completing their initializatino to the point that they are fully functional. That is also the opportunity to supply arbitrary arguments (mostly to applications).  <p/>If this module is a <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup"><CODE>PeerGroup</CODE></A> service, it may be invoked several times depending on its return value.  <p/>Note: the name of this method is historical and no-longer adequate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/platform/Module.html#startApp(java.lang.String[])">startApp</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - An array of Strings forming the parameters for this Module.<DT><B>Returns:</B><DD>int A status indication which may be one of  <A HREF="../../../../net/jxta/platform/Module.html#START_OK"><CODE>Module.START_OK</CODE></A>, <A HREF="../../../../net/jxta/platform/Module.html#START_AGAIN_PROGRESS"><CODE>Module.START_AGAIN_PROGRESS</CODE></A>, <A HREF="../../../../net/jxta/platform/Module.html#START_AGAIN_STALLED"><CODE>Module.START_AGAIN_STALLED</CODE></A>, which indicates partial or complete success, or any other value (negative values are recommended for future compatibility), which indicates failure.</DL></DD></DL><HR><A NAME="stopApp()"><!-- --></A><H3>stopApp</H3><PRE>public void <B>stopApp</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE></B></DD><DD>One can ask a Module to stop.  The Module cannot be forced to comply, but in the future  we might be able to deny it access to anything after some timeout.  <p/>Note: the name of this method is no-longer adequate.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/platform/Module.html#stopApp()">stopApp</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getReportRates()"><!-- --></A><H3>getReportRates</H3><PRE>public static long[] <B>getReportRates</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isLocalMonitoringAvailable(net.jxta.platform.ModuleClassID)"><!-- --></A><H3>isLocalMonitoringAvailable</H3><PRE>public boolean <B>isLocalMonitoringAvailable</B>(<A HREF="../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A>&nbsp;moduleClassID)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPeerGroup()"><!-- --></A><H3>getPeerGroup</H3><PRE>public <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> <B>getPeerGroup</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPeerMonitorInfo()"><!-- --></A><H3>getPeerMonitorInfo</H3><PRE>public <A HREF="../../../../net/jxta/meter/PeerMonitorInfo.html" title="class in net.jxta.meter">PeerMonitorInfo</A> <B>getPeerMonitorInfo</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getReportRatesCount()"><!-- --></A><H3>getReportRatesCount</H3><PRE>public int <B>getReportRatesCount</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getReportRateIndex(long)"><!-- --></A><H3>getReportRateIndex</H3><PRE>public int <B>getReportRateIndex</B>(long&nbsp;reportRate)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isSupportedReportRate(long)"><!-- --></A><H3>isSupportedReportRate</H3><PRE>public boolean <B>isSupportedReportRate</B>(long&nbsp;reportRate)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getReportRate(int)"><!-- --></A><H3>getReportRate</H3><PRE>public long <B>getReportRate</B>(int&nbsp;index)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getBestReportRate(long)"><!-- --></A><H3>getBestReportRate</H3><PRE>public long <B>getBestReportRate</B>(long&nbsp;desiredReportRate)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getServiceMonitor(net.jxta.platform.ModuleClassID)"><!-- --></A><H3>getServiceMonitor</H3><PRE>public <A HREF="../../../../net/jxta/meter/ServiceMonitor.html" title="interface in net.jxta.meter">ServiceMonitor</A> <B>getServiceMonitor</B>(<A HREF="../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A>&nbsp;moduleClassID)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="validateCumulativeMonitorFilter(net.jxta.meter.MonitorFilter)"><!-- --></A><H3>validateCumulativeMonitorFilter</H3><PRE>public void <B>validateCumulativeMonitorFilter</B>(<A HREF="../../../../net/jxta/meter/MonitorFilter.html" title="class in net.jxta.meter">MonitorFilter</A>&nbsp;monitorFilter)                                     throws <A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></CODE></DL></DD></DL><HR><A NAME="validateMonitorFilter(net.jxta.meter.MonitorFilter, long)"><!-- --></A><H3>validateMonitorFilter</H3><PRE>public void <B>validateMonitorFilter</B>(<A HREF="../../../../net/jxta/meter/MonitorFilter.html" title="class in net.jxta.meter">MonitorFilter</A>&nbsp;monitorFilter,                                  long&nbsp;reportRate)                           throws <A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></CODE></DL></DD></DL><HR><A NAME="createSupportedCumulativeMonitorFilter(net.jxta.meter.MonitorFilter)"><!-- --></A><H3>createSupportedCumulativeMonitorFilter</H3><PRE>public <A HREF="../../../../net/jxta/meter/MonitorFilter.html" title="class in net.jxta.meter">MonitorFilter</A> <B>createSupportedCumulativeMonitorFilter</B>(<A HREF="../../../../net/jxta/meter/MonitorFilter.html" title="class in net.jxta.meter">MonitorFilter</A>&nbsp;monitorFilter)                                                     throws <A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></CODE></DL></DD></DL><HR><A NAME="createSupportedMonitorFilter(net.jxta.meter.MonitorFilter, long)"><!-- --></A><H3>createSupportedMonitorFilter</H3><PRE>public <A HREF="../../../../net/jxta/meter/MonitorFilter.html" title="class in net.jxta.meter">MonitorFilter</A> <B>createSupportedMonitorFilter</B>(<A HREF="../../../../net/jxta/meter/MonitorFilter.html" title="class in net.jxta.meter">MonitorFilter</A>&nbsp;monitorFilter,                                                  long&nbsp;reportRate)                                           throws <A HREF="../../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD><DL></DL>

⌨️ 快捷键说明

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