notificationmemorymonitor.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 432 行 · 第 1/2 页

HTML
432
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the maximum possible memory usage for this JVM instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/NotificationMemoryMonitor.html#getUsedMemory()">getUsedMemory</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current memory usage for this JVM instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/NotificationMemoryMonitor.html#notifyNewLowThreshold(long)">notifyNewLowThreshold</A></B>(long&nbsp;newLowThreshold)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notify the Java5 memory management system that there is a new low threshold.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_mondrian.util.AbstractMemoryMonitor"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class mondrian.util.<A HREF="../../mondrian/util/AbstractMemoryMonitor.html" title="class in mondrian.util">AbstractMemoryMonitor</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../mondrian/util/AbstractMemoryMonitor.html#addListener(mondrian.util.MemoryMonitor.Listener)">addListener</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#addListener(mondrian.util.MemoryMonitor.Listener, int)">addListener</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#convertPercentageToThreshold(int)">convertPercentageToThreshold</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#convertThresholdToPercentage(long)">convertThresholdToPercentage</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#generateLowThreshold()">generateLowThreshold</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#getDefaultThresholdPercentage()">getDefaultThresholdPercentage</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#getLowThreshold()">getLowThreshold</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#notifyListeners(long, long)">notifyListeners</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#removeAllListener()">removeAllListener</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#removeListener(mondrian.util.MemoryMonitor.Listener)">removeListener</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#resetFromTest()">resetFromTest</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#updateListenerThreshold(mondrian.util.MemoryMonitor.Listener, int)">updateListenerThreshold</A>, <A HREF="../../mondrian/util/AbstractMemoryMonitor.html#usagePercentage()">usagePercentage</A></CODE></TD></TR></TABLE>&nbsp;<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"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ 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="TENURED_POOL"><!-- --></A><H3>TENURED_POOL</H3><PRE>protected static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/management/MemoryPoolMXBean.html" title="class or interface in java.lang.management">MemoryPoolMXBean</A> <B>TENURED_POOL</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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="NotificationMemoryMonitor()"><!-- --></A><H3>NotificationMemoryMonitor</H3><PRE><B>NotificationMemoryMonitor</B>()</PRE><DL><DD>Construct a <code>NotificationMemoryMonitor</code> instance and register it with the Java5 memory management system.<P></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="getLogger()"><!-- --></A><H3>getLogger</H3><PRE>protected org.apache.log4j.Logger <B>getLogger</B>()</PRE><DL><DD>Get the <code>Logger</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/util/AbstractMemoryMonitor.html#getLogger()">getLogger</A></CODE> in class <CODE><A HREF="../../mondrian/util/AbstractMemoryMonitor.html" title="class in mondrian.util">AbstractMemoryMonitor</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <code>Logger</code>.</DL></DD></DL><HR><A NAME="notifyNewLowThreshold(long)"><!-- --></A><H3>notifyNewLowThreshold</H3><PRE>protected void <B>notifyNewLowThreshold</B>(long&nbsp;newLowThreshold)</PRE><DL><DD>Notify the Java5 memory management system that there is a new low threshold.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../mondrian/util/AbstractMemoryMonitor.html#notifyNewLowThreshold(long)">notifyNewLowThreshold</A></CODE> in class <CODE><A HREF="../../mondrian/util/AbstractMemoryMonitor.html" title="class in mondrian.util">AbstractMemoryMonitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newLowThreshold</CODE> - the new threshold.</DL></DD></DL><HR><A NAME="getMaxMemory()"><!-- --></A><H3>getMaxMemory</H3><PRE>public long <B>getMaxMemory</B>()</PRE><DL><DD>Get the maximum possible memory usage for this JVM instance.<P><DD><DL><DT><B>Returns:</B><DD>maximum memory that can be used.</DL></DD></DL><HR><A NAME="getUsedMemory()"><!-- --></A><H3>getUsedMemory</H3><PRE>public long <B>getUsedMemory</B>()</PRE><DL><DD>Get the current memory usage for this JVM instance.<P><DD><DL><DT><B>Returns:</B><DD>current memory used.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="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="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><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../mondrian/util/MonthlyByWeekDateSchedule.html" title="class in mondrian.util"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/util/ObjectFactory.html" title="class in mondrian.util"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/util/NotificationMemoryMonitor.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="NotificationMemoryMonitor.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;<A HREF="#nested_classes_inherited_from_class_mondrian.util.AbstractMemoryMonitor">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + =
减小字号Ctrl + -
显示快捷键?