|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MemoryState | |
---|---|
bb.util | Provides miscellaneous utility classes and interfaces. |
Uses of MemoryState in bb.util |
---|
Fields in bb.util declared as MemoryState | |
---|---|
private MemoryState |
MemoryMonitor.state
Last memory state that was detected. |
Methods in bb.util that return MemoryState | |
---|---|
MemoryState |
MemoryMonitor.getMemoryState()
Returns the memory state that was detected at the last check cycle. |
MemoryState |
MemoryMeasurer.getMemoryState()
Returns a new MemoryState instance which describes the current memory state. |
static MemoryState |
MemoryState.parse(String s,
String separator)
Parse a new MemoryState instance from the data in s. |
static MemoryState |
MemoryMeasurer.perform()
Returns . |
static MemoryState |
MemoryMeasurer.perform(boolean callRestoreJvm)
Returns new |
Methods in bb.util with parameters of type MemoryState | |
---|---|
private void |
MemoryMonitor.fireOnMemoryLow(MemoryState state)
|
private void |
MemoryMonitor.fireOnMemoryNotLow(MemoryState state)
|
private void |
MemoryMonitor.fireOnMemoryState(MemoryState state)
|
void |
MemoryMonitor.UnitTest.ListenerTest.onMemoryLow(MemoryState state)
|
void |
MemoryMonitorListenerImpl.onMemoryLow(MemoryState state)
|
void |
MemoryMonitorListener.onMemoryLow(MemoryState state)
Called whenever the associated MemoryMonitor instance first detects the low memory state when previously it had detected a not low memory state. |
void |
MemoryMonitor.UnitTest.ListenerTest.onMemoryNotLow(MemoryState state)
|
void |
MemoryMonitorListenerImpl.onMemoryNotLow(MemoryState state)
|
void |
MemoryMonitorListener.onMemoryNotLow(MemoryState state)
Called whenever the associated MemoryMonitor instance first detects a not low memory state when previously it had detected the low memory state. |
void |
MemoryMonitorListenerImpl.onMemoryState(MemoryState state)
|
void |
MemoryMonitorListener.onMemoryState(MemoryState state)
Called whenever the associated MemoryMonitor instance has measured a new memory state. |
private static void |
MemoryMeasurer.UnitTest.printMemoryState(MemoryState state)
|
private void |
MemoryMonitor.setMemoryState(MemoryState state)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |