Package mondrian.util
Interface MemoryMonitor.Test
- 
- All Known Implementing Classes:
 AbstractMemoryMonitor,NotificationMemoryMonitor
- Enclosing interface:
 - MemoryMonitor
 
public static interface MemoryMonitor.TestThis is an interface that aMemoryMonitormay optionally implement. These methods give the tester access to some of the internal, white-box data.During testing Mondrian has a default
MemoryMonitorwhich might be replaced with a testMemoryMonitors using theThreadLocalmechanism. After the test using the testMemoryMonitorfinishes, a call to theresetFromTestmethod allows the defaultMemoryMonitorreset itself. This is hook that should only be called as part of testing. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidresetFromTest()This should only be called when one is switching from a testMemoryMonitorback to the default systemMemoryMonitor. 
 -