|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.RolapAggregationManager mondrian.rolap.agg.AggregationManager mondrian.rolap.agg.CountingAggregationManager
public class CountingAggregationManager
This class adds to AggregationManager
counters for
aggregation cache hit and miss. It should only be used for testing
purpose due to potential performance regression by the
introduction of synchronized blocks.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.rolap.agg.AggregationManager |
---|
AggregationManager.PinSetImpl |
Nested classes/interfaces inherited from class mondrian.rolap.RolapAggregationManager |
---|
RolapAggregationManager.PinSet |
Constructor Summary | |
---|---|
CountingAggregationManager()
|
Method Summary | |
---|---|
Object |
getCellFromCache(CellRequest request)
Calls super method and sets counters. |
Object |
getCellFromCache(CellRequest request,
RolapAggregationManager.PinSet pinSet)
Calls super method and sets counters. |
double |
getHitRatio()
Returns the cache hit ratio. |
int |
getMissCount()
Returns number of cache misses. |
int |
getRequestCount()
Returns total number of cache requests. |
void |
resetCounters()
Resets both counters to zero |
Methods inherited from class mondrian.rolap.agg.AggregationManager |
---|
createPinSet, findAgg, generateSql, getDrillThroughSql, getLogger, instance, loadAggregation |
Methods inherited from class mondrian.rolap.RolapAggregationManager |
---|
getCacheCellReader, getCacheControl, makeCacheRegion, makeDrillThroughRequest, makeRequest, makeRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
CountingAggregationManager()
Method Detail |
---|
public Object getCellFromCache(CellRequest request)
getCellFromCache
in class AggregationManager
request
- Cell request
Util.nullValue
if cell's value is nullpublic Object getCellFromCache(CellRequest request, RolapAggregationManager.PinSet pinSet)
getCellFromCache
in class AggregationManager
public int getRequestCount()
public int getMissCount()
public double getHitRatio()
public void resetCounters()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |