📄 servicemonitor.html
字号:
<A NAME="getModuleClassID()"><!-- --></A><H3>getModuleClassID</H3><PRE>public <A HREF="../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A> <B>getModuleClassID</B>()</PRE><DL><DD>Get ModuleClassID of this ServiceMonitor<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getServiceMetric(net.jxta.meter.ServiceMonitorFilter, long, long, int, long)"><!-- --></A><H3>getServiceMetric</H3><PRE>public <A HREF="../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A> <B>getServiceMetric</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long fromTime, long toTime, int pulseIndex, long reportRate)</PRE><DL><DD>Get ServiceMetrics accrued in during this pulse interval<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceMonitorFilter</CODE> - Filter Metrics based upon this MonitorFilter<DD><CODE>fromTime</CODE> - Beginning time as determined by the MonitorManager<DD><CODE>toTime</CODE> - Ending time as determined by the MonitorManager<DD><CODE>pulseIndex</CODE> - Pulse Index of the reporting rate Pyramid<DD><CODE>reportRate</CODE> - Reporting Rate (corresponding to the PulseNumber's index)</DL></DD></DL><HR><A NAME="beginCumulativeReport()"><!-- --></A><H3>beginCumulativeReport</H3><PRE>public void <B>beginCumulativeReport</B>()</PRE><DL><DD>A request for a cumulative Report(s) are coming, prepare to receive them<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../net/jxta/meter/ServiceMonitor.html#endCumulativeReport()"><CODE>endCumulativeReport()</CODE></A></DL></DD></DL><HR><A NAME="getCumulativeServiceMetric(net.jxta.meter.ServiceMonitorFilter, long, long)"><!-- --></A><H3>getCumulativeServiceMetric</H3><PRE>public <A HREF="../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter">ServiceMetric</A> <B>getCumulativeServiceMetric</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long fromTime, long toTime)</PRE><DL><DD>Get ServiceMetrics since the start (or last reset time) of this ServiceMonitor. Calls to this will only occurr between calls to beginCumulativeReport() and endCumulativeReport()<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceMonitorFilter</CODE> - Filter Metrics based upon this MonitorFilter<DD><CODE>fromTime</CODE> - Beginning time as determined by the MonitorManager<DD><CODE>toTime</CODE> - Ending time as determined by the MonitorManager<DT><B>See Also:</B><DD><A HREF="../../../net/jxta/meter/ServiceMonitor.html#beginCumulativeReport()"><CODE>beginCumulativeReport()</CODE></A>, <A HREF="../../../net/jxta/meter/ServiceMonitor.html#endCumulativeReport()"><CODE>endCumulativeReport()</CODE></A></DL></DD></DL><HR><A NAME="endCumulativeReport()"><!-- --></A><H3>endCumulativeReport</H3><PRE>public void <B>endCumulativeReport</B>()</PRE><DL><DD>Indication that the flurry of requests for cumulative Report is over<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../net/jxta/meter/ServiceMonitor.html#beginCumulativeReport()"><CODE>beginCumulativeReport()</CODE></A></DL></DD></DL><HR><A NAME="validateCumulativeServiceMonitorFilter(net.jxta.meter.ServiceMonitorFilter)"><!-- --></A><H3>validateCumulativeServiceMonitorFilter</H3><PRE>public void <B>validateCumulativeServiceMonitorFilter</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter) throws <A HREF="../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD>Validate ServiceMonitorFilter for a cumulative Report<P><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="validateServiceMonitorFilter(net.jxta.meter.ServiceMonitorFilter, long)"><!-- --></A><H3>validateServiceMonitorFilter</H3><PRE>public void <B>validateServiceMonitorFilter</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long reportRate) throws <A HREF="../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD>Validate ServiceMonitorFilter for a periodic Reporting<P><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="createSupportedCumulativeServiceMonitorFilter(net.jxta.meter.ServiceMonitorFilter)"><!-- --></A><H3>createSupportedCumulativeServiceMonitorFilter</H3><PRE>public <A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> <B>createSupportedCumulativeServiceMonitorFilter</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter) throws <A HREF="../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD>Transform the provided ServiceMonitorFilter into one that is supported for cumulative reporting<P><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="createSupportedServiceMonitorFilter(net.jxta.meter.ServiceMonitorFilter, long)"><!-- --></A><H3>createSupportedServiceMonitorFilter</H3><PRE>public <A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> <B>createSupportedServiceMonitorFilter</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, long reportRate) throws <A HREF="../../../net/jxta/meter/MonitorFilterException.html" title="class in net.jxta.meter">MonitorFilterException</A></PRE><DL><DD>Transform the provided ServiceMonitorFilter into one that is supported for periodic reporting at the specified rate<P><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="serviceMonitorFilterRegistered(net.jxta.meter.ServiceMonitorFilter, int, long, boolean)"><!-- --></A><H3>serviceMonitorFilterRegistered</H3><PRE>public void <B>serviceMonitorFilterRegistered</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, int reportRateIndex, long reportRate, boolean newRate)</PRE><DL><DD>Information that the Monitor Manager has accepted a Monitoring for this filter at this rate<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceMonitorFilter</CODE> - Accepted Filter<DD><CODE>reportRateIndex</CODE> - Pulse Index into pyramid of accepted rate<DD><CODE>reportRate</CODE> - Accepted reporting rate<DD><CODE>newRate</CODE> - Is this a new reporting rate (ie you don't have any currently registered at this rate)</DL></DD></DL><HR><A NAME="serviceMonitorFilterDeregistered(net.jxta.meter.ServiceMonitorFilter, int, long, boolean)"><!-- --></A><H3>serviceMonitorFilterDeregistered</H3><PRE>public void <B>serviceMonitorFilterDeregistered</B>(<A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter">ServiceMonitorFilter</A> serviceMonitorFilter, int reportRateIndex, long reportRate, boolean retiredRate)</PRE><DL><DD>Information that the Monitor Manager is deregistering the Monitoring for this filter at this rate<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceMonitorFilter</CODE> - Deregistered Filter<DD><CODE>reportRateIndex</CODE> - Pulse Index into pyramid of deregistered filter<DD><CODE>reportRate</CODE> - Reporting rate of deregistered filter<DD><CODE>retiredRate</CODE> - Is this a retired filter the last one registered at this rate (ie you don't have to keep metrics for this rate any longer)</DL></DD></DL><HR><A NAME="destroy()"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>()</PRE><DL><DD>Clean up. The PeerGroup is probably about to be destroyed<P><DD><DL></DL></DD><DD><DL></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=3 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ServiceMonitor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../net/jxta/meter/ServiceMetric.html" title="interface in net.jxta.meter"><B>PREV CLASS</B></A> <A HREF="../../../net/jxta/meter/ServiceMonitorFilter.html" title="interface in net.jxta.meter"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ServiceMonitor.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -