public static interface MemoryMonitor.Test
MemoryMonitormay optionally implement. These methods give the tester access to some of the internal, white-box data.
During testing Mondrian has a default
MemoryMonitor which might be replaced with a test
MemoryMonitors using the
mechanism. After the test using the test
MemoryMonitor finishes, a call to the
resetFromTest method allows
MemoryMonitor reset itself.
This is hook that should only be called as part of testing.
|Modifier and Type||Method and Description|
This should only be called when one is switching from a test
MemoryMonitorback to the default system
MemoryMonitor. In particular, look at the
clearThreadLocalClassName()method for its usage.