📄 servicedomainmbean.html
字号:
Statistics will be returned for resource types specified in this map for all specified services. This map must be created using constants from class ResourceType only.<DD><CODE>serverName</CODE> - - Managed server name. If specified, statistics for this server will be returned. Otherwise (if null or empty string) cluster level statistics will be returned.
<DT><B>Returns:</B><DD>Service statistics.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/bea/wli/monitoring/DomainMonitoringDisabledException.html" title="class in com.bea.wli.monitoring">DomainMonitoringDisabledException</A></CODE> - If domain level monitoring is turned off.
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - 1. If specified bitmap representing combination is invalid. 2. If it has bit set for ResourceType.FLOW_COMPONENT. 3. If specified services has one or more proxy services. 4. If specified service ref array is null or empty. 5. If server name is invalid.
<DD><CODE><A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getProxyServiceStatistics(com.bea.wli.config.Ref[], int, java.lang.String)"><!-- --></A><H3>
getProxyServiceStatistics</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/HashMap.html" title="class or interface in java.util">HashMap</A><<A HREF="../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>,<A HREF="../../../../com/bea/wli/monitoring/ServiceResourceStatistic.html" title="class in com.bea.wli.monitoring">ServiceResourceStatistic</A>> <B>getProxyServiceStatistics</B>(<A HREF="../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>[] serviceRefs,
int resourceTypes,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> serverName)
throws <A HREF="../../../../com/bea/wli/monitoring/DomainMonitoringDisabledException.html" title="class in com.bea.wli.monitoring">DomainMonitoringDisabledException</A>,
<A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A>,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>Gets runtime statistics collected since last reset (of statistics) for the specified proxy services. If server name is specified as an argument, sever level statistics (statistics from a specific managed server) will be returned. Else cluster wide statistics (aggregated view of statistics from all managed servers) will be returned.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serviceRefs</CODE> - Proxy service references.<DD><CODE>resourceTypes</CODE> - Bit map representing one or more resource types. Statistics will be returned for resource types specified in this map for all specified services. This map must be created using constants from class ResourceType only.<DD><CODE>serverName</CODE> - - Managed server name. If specified, statistics for this server will be returned. Otherwise (if null or empty string) cluster level statistics will be returned.
<DT><B>Returns:</B><DD>Service statistics.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/bea/wli/monitoring/DomainMonitoringDisabledException.html" title="class in com.bea.wli.monitoring">DomainMonitoringDisabledException</A></CODE> - If domain level monitoring is turned off.
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - 1. If specified bitmap representing combination is invalid. 2. If specified services has one or more business services. 3. If specified service ref array is null or empty. 4. If server name is invalid.
<DD><CODE><A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="resetStatistics(com.bea.wli.config.Ref[])"><!-- --></A><H3>
resetStatistics</H3>
<PRE>
long <B>resetStatistics</B>(<A HREF="../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>[] serviceRefs)
throws <A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A>,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>Resets statistics for specified services. All specified services must be valid and enabled for monitoring. Note: This operation will reset only statistics collected since last reset (or server start time if no reset was performed) only. It will not affect interval statistics that are displayed on Dashboard as 'Current Aggregation Interval' statistics. Put it anotther way, it provides the same reset functionality as that is provided by Dashboard. This operation also provides client with the reset request timestamp from Admin server.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serviceRefs</CODE> - Services of which statistics are to be reset.
<DT><B>Returns:</B><DD>Reset request time. This time will be from Admin server.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - 1. If specified service ref array is null or empty. 2. If invalid service found in the specified services. 3. If all specified services are not enabled for monitoring.
<DD><CODE><A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A></CODE> - If reset operation fails.</DL>
</DD>
</DL>
<HR>
<A NAME="resetAllStatistics()"><!-- --></A><H3>
resetAllStatistics</H3>
<PRE>
long <B>resetAllStatistics</B>()
throws <A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A></PRE>
<DL>
<DD>Resets statistics for all services. Note: This operation will reset only statistics collected since last reset (or server start time if no reset was performed) only. It will not affect interval statistics that are displayed on Dashboard as 'Current Aggregation Interval' statistics. Put it anotther way, it provides the same reset functionality as that is provided by Dashboard. This operation also provides client with the reset request timestamp from Admin server.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Reset request time. This time will be from Admin server.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/bea/wli/monitoring/MonitoringException.html" title="class in com.bea.wli.monitoring">MonitoringException</A></CODE> - If reset operation fails.</DL>
</DD>
</DL>
<HR>
<A NAME="getVersion()"><!-- --></A><H3>
getVersion</H3>
<PRE>
long <B>getVersion</B>()</PRE>
<DL>
<DD>Gets version of this class.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Version</DL>
</DD>
</DL>
<HR>
<A NAME="markURIsOnline(java.util.Map)"><!-- --></A><H3>
markURIsOnline</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>> <B>markURIsOnline</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>,<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>>> serviceRefVsURIs)
throws <A HREF="../../../../com/bea/wli/config/component/NotFoundException.html" title="class in com.bea.wli.config.component">NotFoundException</A>,
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Forces the specified URIs for the business services to be marked as online on all the managed servers. If the monitoring is on, this will update the status of specified URIs as online with the monitoring framework. URIs which are already online or doesn抰 exist in the service will be ignored.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serviceRefVsURIs</CODE> - Map of business services vs the list of URIs to be marked as online.
<DT><B>Returns:</B><DD>Set containing the names of the managed servers on which this operation failed.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/bea/wli/config/component/NotFoundException.html" title="class in com.bea.wli.config.component">NotFoundException</A></CODE> - If a service is not found in the specified services
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></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> </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="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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/bea/wli/monitoring/ResourceType.html" title="enum in com.bea.wli.monitoring"><B>PREV CLASS</B></A>
<A HREF="../../../../com/bea/wli/monitoring/ServiceResourceStatistic.html" title="class in com.bea.wli.monitoring"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/bea/wli/monitoring/ServiceDomainMBean.html" target="_top"><B>FRAMES</B></A>
<A HREF="ServiceDomainMBean.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | 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 + -