cachecontrolimpl.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,090 行 · 第 1/5 页
HTML
1,090 行
<BR> Returns a list of members of the Measures dimension which are mentioned somewhere in a region specification.</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="../../mondrian/rolap/CacheControlImpl.html#flush(mondrian.olap.CacheControl.CellRegion)">flush</A></B>(<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> region)</CODE><BR> Atomically flushes all the cells in the cell cache that correspond to measures in a cube and to a given region.</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="../../mondrian/rolap/CacheControlImpl.html#flush(mondrian.olap.CacheControl.MemberSet)">flush</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A> memberSet)</CODE><BR> Atomically flushes all members in the member cache which belong to a given set.</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="../../mondrian/rolap/CacheControlImpl.html#flushNonUnion(mondrian.olap.CacheControl.CellRegion)">flushNonUnion</A></B>(<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> region)</CODE><BR> </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="../../mondrian/rolap/CacheControlImpl.html#flushRegionList(java.util.List)">flushRegionList</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A>> cellRegionList)</CODE><BR> Flushes a list of cell regions.</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="../../mondrian/rolap/CacheControlImpl.html#flushSchema(mondrian.olap.Schema)">flushSchema</A></B>(<A HREF="../../mondrian/olap/Schema.html" title="interface in mondrian.olap">Schema</A> schema)</CODE><BR> Flushes the given RolapSchema instance from the pool</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="../../mondrian/rolap/CacheControlImpl.html#flushSchema(java.lang.String, javax.sql.DataSource)">flushSchema</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> catalogUrl, <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html" title="class or interface in javax.sql">DataSource</A> dataSource)</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="../../mondrian/rolap/CacheControlImpl.html#flushSchema(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">flushSchema</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> catalogUrl, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> connectionKey, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> jdbcUser, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> dataSourceStr)</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="../../mondrian/rolap/CacheControlImpl.html#flushSchemaCache()">flushSchemaCache</A></B>()</CODE><BR> Flushes the cache which maps schema URLs to metadata.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A><<A HREF="../../mondrian/rolap/RolapStar.html" title="class in mondrian.rolap">RolapStar</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/CacheControlImpl.html#getStarList(mondrian.olap.CacheControl.CellRegion)">getStarList</A></B>(<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> region)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) mondrian.rolap.CacheControlImpl.UnionCellRegion</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/CacheControlImpl.html#normalize(mondrian.rolap.CacheControlImpl.CellRegionImpl)">normalize</A></B>(<A HREF="../../mondrian/rolap/CacheControlImpl.CellRegionImpl.html" title="interface in mondrian.rolap">CacheControlImpl.CellRegionImpl</A> region)</CODE><BR> Normalizes a CellRegion into a union of crossjoins of member regions.</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="../../mondrian/rolap/CacheControlImpl.html#printCacheState(java.io.PrintWriter, mondrian.olap.CacheControl.CellRegion)">printCacheState</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A> pw, <A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> region)</CODE><BR> Prints the state of the cell cache as it pertains to a given region.</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="../../mondrian/rolap/CacheControlImpl.html#printCacheState(java.io.PrintWriter, mondrian.olap.CacheControl.MemberSet)">printCacheState</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/PrintWriter.html" title="class or interface in java.io">PrintWriter</A> pw, <A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A> set)</CODE><BR> Prints the state of the member cache as it pertains to a given member set.</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="../../mondrian/rolap/CacheControlImpl.html#trace(java.lang.String)">trace</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> message)</CODE><BR> Prints a debug message.</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"><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> <P><!-- ========= 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="CacheControlImpl()"><!-- --></A><H3>CacheControlImpl</H3><PRE>public <B>CacheControlImpl</B>()</PRE><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="createMemberRegion(mondrian.olap.Member, boolean)"><!-- --></A><H3>createMemberRegion</H3><PRE>public <A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> <B>createMemberRegion</B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> member, boolean descendants)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(mondrian.olap.Member, boolean)">CacheControl</A></CODE></B></DD><DD>Creates a cell region consisting of a single member.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(mondrian.olap.Member, boolean)">createMemberRegion</A></CODE> in interface <CODE><A HREF="../../mondrian/olap/CacheControl.html" title="interface in mondrian.olap">CacheControl</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>member</CODE> - the member<DD><CODE>descendants</CODE> - When true, include descendants of the member in the region.<DT><B>Returns:</B><DD>the new cell region</DL></DD></DL><HR><A NAME="createMemberRegion(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)"><!-- --></A><H3>createMemberRegion</H3><PRE>public <A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A> <B>createMemberRegion</B>(boolean lowerInclusive, <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> lowerMember, boolean upperInclusive, <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A> upperMember, boolean descendants)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)">CacheControl</A></CODE></B></DD><DD>Creates a cell region consisting of a range between two members. <p>The members must belong to the same level of the same hierarchy. One of the bounds may be null. <p>For example, given <code><pre>Member member97Q3; // [Time].[1997].[Q3] Member member98Q2; // [Time].[1998].[Q2] </pre></code> then <table border="1"> <tr> <th>Expression</th> <th>Meaning</th> </tr> <tr> <td> <code>createMemberRegion(true, member97Q3, true, member98Q2, false)</code> </td> <td>The members between 97Q3 and 98Q2, inclusive:<br/> [Time].[1997].[Q3],<br/> [Time].[1997].[Q4],<br/> [Time].[1998].[Q1],<br/> [Time].[1998].[Q2]</td> </tr> <tr>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?