protected class JavaModel.CacheTracker extends java.lang.Object implements CacheSupport
CacheTracker just helps track where begin/end
cache use calls are being made, and to ensure that they are
matched properly.| Modifier | Constructor and Description |
|---|---|
protected |
CacheTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginCacheUse()
Instructs the data provider to enable the cache support.
|
void |
endCacheUse()
Instructs the data provider to release the cache support.
|
protected void |
finalize() |
void |
flushCache()
Instructs the data provider to force a cache flush.
|
public void beginCacheUse()
CacheSupportendCacheUse() when finished to ensure that the cache
can be freed when it is no longer needed.beginCacheUse in interface CacheSupportprotected void finalize()
finalize in class java.lang.Objectpublic void endCacheUse()
CacheSupportendCacheUse in interface CacheSupportpublic void flushCache()
CacheSupportflushCache in interface CacheSupport