Package mondrian.rolap
Class MemberCacheHelper
- java.lang.Object
-
- mondrian.rolap.MemberCacheHelper
-
- Direct Known Subclasses:
MemberNoCacheHelper
public class MemberCacheHelper extends Object
Encapsulation of member caching.- Author:
- Will Gorman
-
-
Constructor Summary
Constructors Constructor Description MemberCacheHelper(RolapHierarchy rolapHierarchy)
Creates a MemberCacheHelper.
-
Method Summary
-
-
-
Constructor Detail
-
MemberCacheHelper
public MemberCacheHelper(RolapHierarchy rolapHierarchy)
Creates a MemberCacheHelper.- Parameters:
rolapHierarchy
- Hierarchy
-
-
Method Detail
-
getMember
public RolapMember getMember(Object key, boolean mustCheckCacheStatus)
-
putMember
public Object putMember(Object key, RolapMember value)
-
makeKey
public Object makeKey(RolapMember parent, Object key)
-
getMember
public RolapMember getMember(Object key)
-
checkCacheStatus
public void checkCacheStatus()
-
putLevelMembersInCache
@Deprecated public void putLevelMembersInCache(RolapLevel level, TupleConstraint constraint, List<RolapMember> members)
Deprecated.Deprecated in favor ofputChildren(RolapLevel, TupleConstraint, List)
-
putChildren
public void putChildren(RolapLevel level, TupleConstraint constraint, List<RolapMember> members)
-
getChildrenFromCache
public List<RolapMember> getChildrenFromCache(RolapMember member, MemberChildrenConstraint constraint)
-
putChildren
public void putChildren(RolapMember member, MemberChildrenConstraint constraint, List<RolapMember> children)
-
getLevelMembersFromCache
public List<RolapMember> getLevelMembersFromCache(RolapLevel level, TupleConstraint constraint)
-
flushCache
public void flushCache()
-
getChangeListener
public DataSourceChangeListener getChangeListener()
-
setChangeListener
public void setChangeListener(DataSourceChangeListener listener)
-
isMutable
public boolean isMutable()
-
removeMember
public RolapMember removeMember(Object key)
-
removeMemberAndDescendants
public RolapMember removeMemberAndDescendants(Object key)
-
-