mondrian.rolap
Class RolapAxis.Wrapper

java.lang.Object
  extended by mondrian.rolap.RolapAxis
      extended by mondrian.rolap.RolapAxis.Wrapper
All Implemented Interfaces:
Axis
Enclosing class:
RolapAxis

public static class RolapAxis.Wrapper
extends RolapAxis

A Wrapper has many uses. In particular, if one is using Java 5 or above, one can create a Wrapper that is also a memory usage listener. Then one can place an Axis implementation into a Wrapper where the initial implementation is in-memory, large-memory-usage and cpu fast. The on the first memory notification it can be migrated to an in-memory, small-memory-usage and cpu slower. On a subsequent memory notification it can be migrated to an on-disk, low-memory and cpu slow implementation.

 

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.rolap.RolapAxis
RolapAxis.MemberArrayIterable, RolapAxis.MemberArrayList, RolapAxis.MemberIterable, RolapAxis.MemberList, RolapAxis.NoPosition, RolapAxis.PositionBase, RolapAxis.PositionIterBase, RolapAxis.PositionList, RolapAxis.PositionListBase, RolapAxis.PositionListUnsupported, RolapAxis.PositionUnsupported, RolapAxis.SingleEmptyPosition, RolapAxis.Wrapper
 
Constructor Summary
protected RolapAxis.Wrapper(Axis axis)
           
 
Method Summary
 List<Position> getPositions()
           
 
Methods inherited from class mondrian.rolap.RolapAxis
toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolapAxis.Wrapper

protected RolapAxis.Wrapper(Axis axis)
Method Detail

getPositions

public List<Position> getPositions()
Specified by:
getPositions in interface Axis
Specified by:
getPositions in class RolapAxis

SourceForge.net_Logo