facets.util.app
Class ProvidingCache
java.lang.Object
facets.util.Tracer
facets.util.app.ProvidingCache
public class ProvidingCache
- extends Tracer
Cache that encapsulates the creation of items to be stored.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASS_THROUGH
public static final int PASS_THROUGH
- See Also:
- Constant Field Values
ProvidingCache
public ProvidingCache(int countMax,
AppWatcher watcher)
traceOutput
protected void traceOutput(java.lang.String msg)
- Description copied from class:
Tracer
- Outputs complete trace messages to console or elsewhere.
Default prepends helpful classname to message.
- Overrides:
traceOutput
in class Tracer
- Parameters:
msg
- passed from one of the public
methods
trace
protected boolean trace()
watcher
protected AppWatcher watcher()
processingRequest
protected void processingRequest(boolean starting)
checkItemBytes
protected boolean checkItemBytes()
getBytesAvailable
protected long getBytesAvailable(long itemMems)
clear
public final void clear()