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

📄 metric.html

📁 A Facebook API client implemented in Java, derived from the poorly-maintained official Facebook clie
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DL><HR><A NAME="REQUEST_ERROR_401"><!-- --></A><H3>REQUEST_ERROR_401</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_401</B></PRE><DL><DD>Number of requests that produced a status 401 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_403"><!-- --></A><H3>REQUEST_ERROR_403</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_403</B></PRE><DL><DD>Number of requests that produced a status 403 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_404"><!-- --></A><H3>REQUEST_ERROR_404</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_404</B></PRE><DL><DD>Number of requests that produced a status 404 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_405"><!-- --></A><H3>REQUEST_ERROR_405</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_405</B></PRE><DL><DD>Number of requests that produced a status 405 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_413"><!-- --></A><H3>REQUEST_ERROR_413</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_413</B></PRE><DL><DD>Number of requests that produced a status 413 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_422"><!-- --></A><H3>REQUEST_ERROR_422</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_422</B></PRE><DL><DD>Number of requests that produced a status 422 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_500"><!-- --></A><H3>REQUEST_ERROR_500</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_500</B></PRE><DL><DD>Number of requests that produced a status 500 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_502"><!-- --></A><H3>REQUEST_ERROR_502</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_502</B></PRE><DL><DD>Number of requests that produced a status 502 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_503"><!-- --></A><H3>REQUEST_ERROR_503</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_503</B></PRE><DL><DD>Number of requests that produced a status 503 error.<P><DL></DL></DL><HR><A NAME="REQUEST_ERROR_505"><!-- --></A><H3>REQUEST_ERROR_505</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>REQUEST_ERROR_505</B></PRE><DL><DD>Number of requests that produced a status 505 error.<P><DL></DL></DL><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="PERIOD_DAY"><!-- --></A><H3>PERIOD_DAY</H3><PRE>public static final java.lang.Long <B>PERIOD_DAY</B></PRE><DL><DD>Use in Admin.getMetrics calls to specify a daily time-period.<P><DL></DL></DL><HR><A NAME="PERIOD_WEEK"><!-- --></A><H3>PERIOD_WEEK</H3><PRE>public static final java.lang.Long <B>PERIOD_WEEK</B></PRE><DL><DD>Use in Admin.getMetrics calls to specify a weekly time-period.<P><DL></DL></DL><HR><A NAME="PERIOD_MONTH"><!-- --></A><H3>PERIOD_MONTH</H3><PRE>public static final java.lang.Long <B>PERIOD_MONTH</B></PRE><DL><DD>Use in Admin.getMetrics calls to specify a monthly time-period.<P><DL></DL></DL><HR><A NAME="METRIC_TABLE"><!-- --></A><H3>METRIC_TABLE</H3><PRE>protected static final java.util.Map&lt;java.lang.String,<A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A>&gt; <B>METRIC_TABLE</B></PRE><DL><DL></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="values()"><!-- --></A><H3>values</H3><PRE>public static final <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A>[] <B>values</B>()</PRE><DL><DD>Returns an array containing the constants of this enum type, inthe order they're declared.  This method may be used to iterateover the constants as follows:<pre>for(Metric c : Metric.values())        System.out.println(c);</pre><P><DD><DL><DT><B>Returns:</B><DD>an array containing the constants of this enum type, inthe order they're declared</DL></DD></DL><HR><A NAME="valueOf(java.lang.String)"><!-- --></A><H3>valueOf</H3><PRE>public static <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>valueOf</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Returns the enum constant of this type with the specified name.The string must match <I>exactly</I> an identifier used to declare anenum constant in this type.  (Extraneous whitespace characters are not permitted.)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.<DT><B>Returns:</B><DD>the enum constant with the specified name<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if this enum type has no constantwith the specified name</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>Get the name by which Facebook refers to this metric.<P><DD><DL><DT><B>Returns:</B><DD>the Facebook-supplied name of this metric.</DL></DD></DL><HR><A NAME="getMetric(java.lang.String)"><!-- --></A><H3>getMetric</H3><PRE>public static <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>getMetric</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Lookup a metric by name.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the Facebook-supplied name of the metric to lookup, such as "daily_active_users".<DT><B>Returns:</B><DD>the metric the corresponds to the supplied name, or null if none exists.</DL></DD></DL><HR><A NAME="getErrorMetric(int)"><!-- --></A><H3>getErrorMetric</H3><PRE>public static <A HREF="../../../../com/google/code/facebookapi/Metric.html" title="enum in com.google.code.facebookapi">Metric</A> <B>getErrorMetric</B>(int&nbsp;errorCode)</PRE><DL><DD>Lookup a metric by HTTP error code.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>errorCode</CODE> - the code to get the metric for, such as 500, 404, 401, 200, etc..<DT><B>Returns:</B><DD>the metric the corresponds to the supplied HTTP error-code, or null if none exists.</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="../../../../com/google/code/facebookapi/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="class-use/Metric.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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="../../../../com/google/code/facebookapi/MarketplaceListing.html" title="class in com.google.code.facebookapi"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/google/code/facebookapi/PageProfileField.html" title="enum in com.google.code.facebookapi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/google/code/facebookapi/Metric.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Metric.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="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &#169; 2008. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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