Package mondrian.rolap
Class MemberNoCacheHelper
- java.lang.Object
-
- mondrian.rolap.MemberCacheHelper
-
- mondrian.rolap.MemberNoCacheHelper
-
public class MemberNoCacheHelper extends MemberCacheHelper
Encapsulation of member caching for no caching.- Version:
- 1.0
- Author:
- Luis F. Canals (lcanals@tasecurity.net)
-
-
Constructor Summary
Constructors Constructor Description MemberNoCacheHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkCacheStatus()
DataSourceChangeListener
getChangeListener()
List<RolapMember>
getChildrenFromCache(RolapMember member, MemberChildrenConstraint constraint)
List<RolapMember>
getLevelMembersFromCache(RolapLevel level, TupleConstraint constraint)
RolapMember
getMember(Object key)
RolapMember
getMember(Object key, boolean mustCheckCacheStatus)
boolean
isMutable()
Object
makeKey(RolapMember parent, Object key)
void
putChildren(RolapMember member, MemberChildrenConstraint constraint, List<RolapMember> children)
void
putLevelMembersInCache(RolapLevel level, TupleConstraint constraint, List<RolapMember> members)
Deprecated in favor ofMemberCacheHelper.putChildren(RolapLevel, TupleConstraint, List)
Object
putMember(Object key, RolapMember value)
RolapMember
removeMember(Object key)
RolapMember
removeMemberAndDescendants(Object key)
void
setChangeListener(DataSourceChangeListener listener)
-
Methods inherited from class mondrian.rolap.MemberCacheHelper
flushCache, putChildren
-
-
-
-
Method Detail
-
getMember
public RolapMember getMember(Object key, boolean mustCheckCacheStatus)
- Overrides:
getMember
in classMemberCacheHelper
-
putMember
public Object putMember(Object key, RolapMember value)
- Overrides:
putMember
in classMemberCacheHelper
-
makeKey
public Object makeKey(RolapMember parent, Object key)
- Overrides:
makeKey
in classMemberCacheHelper
-
getMember
public RolapMember getMember(Object key)
- Overrides:
getMember
in classMemberCacheHelper
-
checkCacheStatus
public void checkCacheStatus()
- Overrides:
checkCacheStatus
in classMemberCacheHelper
-
putLevelMembersInCache
public void putLevelMembersInCache(RolapLevel level, TupleConstraint constraint, List<RolapMember> members)
Description copied from class:MemberCacheHelper
Deprecated in favor ofMemberCacheHelper.putChildren(RolapLevel, TupleConstraint, List)
- Overrides:
putLevelMembersInCache
in classMemberCacheHelper
-
getChildrenFromCache
public List<RolapMember> getChildrenFromCache(RolapMember member, MemberChildrenConstraint constraint)
- Overrides:
getChildrenFromCache
in classMemberCacheHelper
-
putChildren
public void putChildren(RolapMember member, MemberChildrenConstraint constraint, List<RolapMember> children)
- Overrides:
putChildren
in classMemberCacheHelper
-
getLevelMembersFromCache
public List<RolapMember> getLevelMembersFromCache(RolapLevel level, TupleConstraint constraint)
- Overrides:
getLevelMembersFromCache
in classMemberCacheHelper
-
getChangeListener
public DataSourceChangeListener getChangeListener()
- Overrides:
getChangeListener
in classMemberCacheHelper
-
setChangeListener
public void setChangeListener(DataSourceChangeListener listener)
- Overrides:
setChangeListener
in classMemberCacheHelper
-
isMutable
public boolean isMutable()
- Overrides:
isMutable
in classMemberCacheHelper
-
removeMember
public RolapMember removeMember(Object key)
- Overrides:
removeMember
in classMemberCacheHelper
-
removeMemberAndDescendants
public RolapMember removeMemberAndDescendants(Object key)
- Overrides:
removeMemberAndDescendants
in classMemberCacheHelper
-
-