cachecontrol.html

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

HTML
995
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_15) on Thu Jul 31 17:20:06 EDT 2008 --><TITLE>CacheControl (Mondrian OLAP Server, version 3.0.4.11371)</TITLE><META NAME="keywords" CONTENT="mondrian.olap.CacheControl interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){    parent.document.title="CacheControl (Mondrian OLAP Server, version 3.0.4.11371)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" 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_top_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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../mondrian/olap/AxisOrdinal.html" title="enum in mondrian.olap"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/olap/CacheControl.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CacheControl.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_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">mondrian.olap</FONT><BR>Interface CacheControl</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../mondrian/rolap/CacheControlImpl.html" title="class in mondrian.rolap">CacheControlImpl</A></DD></DL><HR><DL><DT><PRE>public interface <B>CacheControl</B></DL></PRE><P>API for controlling the contents of the cell cache and the member cache. A <A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap"><CODE>CacheControl.CellRegion</CODE></A> denotes a portion of the cell cache, and a <A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap"><CODE>CacheControl.MemberSet</CODE></A> denotes a portion of the member cache. Both caches can be flushed, and the member cache can be edited. <p>To create an instance of this interface, use <A HREF="../../mondrian/olap/Connection.html#getCacheControl(java.io.PrintWriter)"><CODE>Connection.getCacheControl(java.io.PrintWriter)</CODE></A>.</p> <p>Methods concerning cell cache:<ul> <li><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(mondrian.olap.Member, boolean)"><CODE>createMemberRegion(Member, boolean)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)"><CODE>createMemberRegion(boolean, Member, boolean, Member, boolean)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createUnionRegion(mondrian.olap.CacheControl.CellRegion...)"><CODE>createUnionRegion(mondrian.olap.CacheControl.CellRegion[])</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createCrossjoinRegion(mondrian.olap.CacheControl.CellRegion...)"><CODE>createCrossjoinRegion(mondrian.olap.CacheControl.CellRegion[])</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createMeasuresRegion(mondrian.olap.Cube)"><CODE>createMeasuresRegion(Cube)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#flush(mondrian.olap.CacheControl.CellRegion)"><CODE>flush(mondrian.olap.CacheControl.CellRegion)</CODE></A></li> </ul></p> <p>Methods concerning member cache:<ul> <li><A HREF="../../mondrian/olap/CacheControl.html#createMemberSet(mondrian.olap.Member, boolean)"><CODE>createMemberSet(Member, boolean)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createMemberSet(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)"><CODE>createMemberSet(boolean, Member, boolean, Member, boolean)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createAddCommand(mondrian.olap.Member)"><CODE>createAddCommand(Member)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createDeleteCommand(mondrian.olap.Member)"><CODE>createDeleteCommand(Member)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createDeleteCommand(mondrian.olap.CacheControl.MemberSet)"><CODE>createDeleteCommand(mondrian.olap.CacheControl.MemberSet)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createCompoundCommand(java.util.List)"><CODE>createCompoundCommand(java.util.List)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createCompoundCommand(mondrian.olap.CacheControl.MemberEditCommand...)"><CODE>createCompoundCommand(mondrian.olap.CacheControl.MemberEditCommand[])</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createSetPropertyCommand(mondrian.olap.Member, java.lang.String, java.lang.Object)"><CODE>createSetPropertyCommand(Member, String, Object)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#createSetPropertyCommand(mondrian.olap.CacheControl.MemberSet, java.util.Map)"><CODE>createSetPropertyCommand(mondrian.olap.CacheControl.MemberSet,java.util.Map)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#flush(mondrian.olap.CacheControl.MemberSet)"><CODE>flush(mondrian.olap.CacheControl.MemberSet)</CODE></A></li> <li><A HREF="../../mondrian/olap/CacheControl.html#execute(mondrian.olap.CacheControl.MemberEditCommand)"><CODE>execute(mondrian.olap.CacheControl.MemberEditCommand)</CODE></A></li> </ul></p><P><P><DL><DT><B>Since:</B></DT>  <DD>Sep 27, 2006</DD><DT><B>Version:</B></DT>  <DD>$Id: //open/mondrian-release/3.0/src/main/mondrian/olap/CacheControl.java#2 $</DD><DT><B>Author:</B></DT>  <DD>jhyde</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><A NAME="nested_class_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Nested Class Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;interface</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a region of cells in the cell cache</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;interface</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An operation to be applied to the member cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;interface</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A specification of a set of members in the member cache.</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createAddCommand(mondrian.olap.Member)">createAddCommand</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a command to add a member to the cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createCompoundCommand(mondrian.olap.CacheControl.MemberEditCommand...)">createCompoundCommand</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A>...&nbsp;cmds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a compound command which is executed atomically.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createCompoundCommand(java.util.List)">createCompoundCommand</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>&lt;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A>&gt;&nbsp;cmds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a compound command which is executed atomically.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createCrossjoinRegion(mondrian.olap.CacheControl.CellRegion...)">createCrossjoinRegion</A></B>(<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A>...&nbsp;regions)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forms the cartesian product of two or more cell regions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createDeleteCommand(mondrian.olap.CacheControl.MemberSet)">createDeleteCommand</A></B>(<A HREF="../../mondrian/olap/CacheControl.MemberSet.html" title="interface in mondrian.olap">CacheControl.MemberSet</A>&nbsp;memberSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a command to delete a set of members from the member cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.MemberEditCommand.html" title="interface in mondrian.olap">CacheControl.MemberEditCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createDeleteCommand(mondrian.olap.Member)">createDeleteCommand</A></B>(<A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;member)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a command to delete a member and its descendants from the member cache.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createMeasuresRegion(mondrian.olap.Cube)">createMeasuresRegion</A></B>(<A HREF="../../mondrian/olap/Cube.html" title="interface in mondrian.olap">Cube</A>&nbsp;cube)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a region consisting of all measures in a given cube.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/olap/CacheControl.CellRegion.html" title="interface in mondrian.olap">CacheControl.CellRegion</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/olap/CacheControl.html#createMemberRegion(boolean, mondrian.olap.Member, boolean, mondrian.olap.Member, boolean)">createMemberRegion</A></B>(boolean&nbsp;lowerInclusive,                   <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;lowerMember,                   boolean&nbsp;upperInclusive,                   <A HREF="../../mondrian/olap/Member.html" title="interface in mondrian.olap">Member</A>&nbsp;upperMember,                   boolean&nbsp;descendants)</CODE>

⌨️ 快捷键说明

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