mondrian.rolap
Class CacheControlImpl.MemberSetVisitorImpl

java.lang.Object
  extended by mondrian.rolap.CacheControlImpl.MemberSetVisitorImpl
All Implemented Interfaces:
CacheControlImpl.MemberSetVisitor
Enclosing class:
CacheControlImpl

public abstract static class CacheControlImpl.MemberSetVisitorImpl
extends Object
implements CacheControlImpl.MemberSetVisitor

Default implementation of CacheControlImpl.MemberSetVisitor.

The default implementation may not be efficient. For example, if flushing a range of members from the cache, you may not wish to fetch all of the members into the cache in order to flush them.

 

Constructor Summary
CacheControlImpl.MemberSetVisitorImpl()
           
 
Method Summary
 void visit(CacheControlImpl.RangeMemberSet s)
           
 void visit(CacheControlImpl.SimpleMemberSet s)
           
 void visit(CacheControlImpl.UnionMemberSet s)
           
abstract  void visit(RolapMember member)
          Visits a single member.
protected  void visitRange(MemberReader memberReader, RolapLevel level, RolapMember lowerMember, RolapMember upperMember, boolean recurse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheControlImpl.MemberSetVisitorImpl

public CacheControlImpl.MemberSetVisitorImpl()
Method Detail

visit

public void visit(CacheControlImpl.UnionMemberSet s)
Specified by:
visit in interface CacheControlImpl.MemberSetVisitor

visit

public void visit(CacheControlImpl.RangeMemberSet s)
Specified by:
visit in interface CacheControlImpl.MemberSetVisitor

visitRange

protected void visitRange(MemberReader memberReader,
                          RolapLevel level,
                          RolapMember lowerMember,
                          RolapMember upperMember,
                          boolean recurse)

visit

public void visit(CacheControlImpl.SimpleMemberSet s)
Specified by:
visit in interface CacheControlImpl.MemberSetVisitor

visit

public abstract void visit(RolapMember member)
Visits a single member.

Parameters:
member - Member

SourceForge.net_Logo