📄 genericservicemonitor.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#endCumulativeReport()">endCumulativeReport</A></B>()</CODE><BR> Indication that the flurry of requests for cumulative Report is over</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#endPulse(net.jxta.impl.meter.ServiceMonitorPulseInfo)">endPulse</A></B>(<A HREF="../../../../net/jxta/impl/meter/ServiceMonitorPulseInfo.html" title="class in net.jxta.impl.meter">ServiceMonitorPulseInfo</A> pulseInfo)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#getCumulativeServiceMetric()">getCumulativeServiceMetric</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#getCumulativeServiceMetric(net.jxta.meter.ServiceMonitorFilter, long, long)">getCumulativeServiceMetric</A></B>(<A HREF="../../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long fromTime, long toTime)</CODE><BR> Get ServiceMetrics since the start (or last reset time) of this ServiceMonitor. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#getModuleClassID()">getModuleClassID</A></B>()</CODE><BR> Get ModuleClassID of this ServiceMonitor</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#getPeerGroup()">getPeerGroup</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#getServiceMetric(net.jxta.meter.ServiceMonitorFilter, long, long, int, long)">getServiceMetric</A></B>(<A HREF="../../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long fromTime, long toTime, int reportIndex, long reportRate)</CODE><BR> Get ServiceMetrics accrued in during this pulse interval</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#init()">init</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#init(net.jxta.impl.meter.MonitorManager)">init</A></B>(<A HREF="../../../../net/jxta/impl/meter/MonitorManager.html" title="class in net.jxta.impl.meter">MonitorManager</A> monitorManager)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#init(net.jxta.peergroup.PeerGroup, net.jxta.id.ID, net.jxta.document.Advertisement)">init</A></B>(<A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> group, <A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> assignedID, <A HREF="../../../../net/jxta/document/Advertisement.html" title="class in net.jxta.document">Advertisement</A> advertisement)</CODE><BR> Initialize the module, passing it its peer group and advertisement. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#resetPulseRate(net.jxta.impl.meter.ServiceMonitorPulseInfo, int)">resetPulseRate</A></B>(<A HREF="../../../../net/jxta/impl/meter/ServiceMonitorPulseInfo.html" title="class in net.jxta.impl.meter">ServiceMonitorPulseInfo</A> pulseInfo, int oldPulseRateIndex)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#serviceMonitorFilterDeregistered(net.jxta.meter.ServiceMonitorFilter, int, long, boolean)">serviceMonitorFilterDeregistered</A></B>(<A HREF="../../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, int reportRateIndex, long reportRate, boolean retiredRate)</CODE><BR> Information that the Monitor Manager is deregistering the Monitoring for this filter at this rate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#serviceMonitorFilterRegistered(net.jxta.meter.ServiceMonitorFilter, int, long, boolean)">serviceMonitorFilterRegistered</A></B>(<A HREF="../../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, int reportRateIndex, long reportRate, boolean newRate)</CODE><BR> Information that the Monitor Manager has accepted a Monitoring for this filter at this rate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#startApp(java.lang.String[])">startApp</A></B>(java.lang.String[] args)</CODE><BR> Some Modules will wait for this method being invoked, before completing their initializatino to the point that they are fully functional. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#stopApp()">stopApp</A></B>()</CODE><BR> One can ask a Module to stop. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#validateCumulativeServiceMonitorFilter(net.jxta.meter.ServiceMonitorFilter)">validateCumulativeServiceMonitorFilter</A></B>(<A HREF="../../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter)</CODE><BR> Validate ServiceMonitorFilter for a cumulative Report</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/meter/GenericServiceMonitor.html#validateServiceMonitorFilter(net.jxta.meter.ServiceMonitorFilter, long)">validateServiceMonitorFilter</A></B>(<A HREF="../../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long reportRate)</CODE><BR> Validate ServiceMonitorFilter for a periodic Reporting</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="monitorManager"><!-- --></A><H3>monitorManager</H3><PRE>protected <A HREF="../../../../net/jxta/impl/meter/MonitorManager.html" title="class in net.jxta.impl.meter">MonitorManager</A> <B>monitorManager</B></PRE><DL><DL></DL></DL><HR><A NAME="reportRate"><!-- --></A><H3>reportRate</H3><PRE>protected long <B>reportRate</B></PRE><DL><DL></DL></DL><HR><A NAME="reportRateIndex"><!-- --></A><H3>reportRateIndex</H3><PRE>protected int <B>reportRateIndex</B></PRE><DL><DL></DL></DL><HR><A NAME="cumulativeServiceMetric"><!-- --></A><H3>cumulativeServiceMetric</H3><PRE>protected <A HREF="../../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A> <B>cumulativeServiceMetric</B></PRE><DL><DL></DL></DL><HR><A NAME="deltaServiceMetrics"><!-- --></A><H3>deltaServiceMetrics</H3><PRE>protected <A HREF="../../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A>[] <B>deltaServiceMetrics</B></PRE><DL><DL></DL></DL><HR><A NAME="implAdvertisement"><!-- --></A><H3>implAdvertisement</H3><PRE>protected <A HREF="../../../../net/jxta/protocol/ModuleImplAdvertisement.html" title="class in net.jxta.protocol">ModuleImplAdvertisement</A> <B>implAdvertisement</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="GenericServiceMonitor()"><!-- --></A><H3>GenericServiceMonitor</H3><PRE>public <B>GenericServiceMonitor</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -