public static class MemoryUsageTracker.SoftUsageTracker
extends java.lang.Object
Constructor and Description |
---|
SoftUsageTracker() |
Modifier and Type | Method and Description |
---|---|
void |
disable() |
void |
enable() |
double |
getPercentagePresent() |
long |
getTotalEntries() |
void |
track(java.lang.Object key,
java.lang.ref.SoftReference<?> ref) |
void |
untrack(java.lang.Object key) |
public void enable()
public void disable()
public long getTotalEntries()
public double getPercentagePresent()
public void track(java.lang.Object key, java.lang.ref.SoftReference<?> ref)
public void untrack(java.lang.Object key)