com.macromedia.generator.app
Class GenCache
java.lang.Object
|
+--com.macromedia.generator.app.GenCache
- Direct Known Subclasses:
- RequestCache, URLCache
- public class GenCache
- extends java.lang.Object
Methods inherited from class java.lang.Object |
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mIndex
protected java.util.Hashtable mIndex
mCurrentSize
protected long mCurrentSize
mLog
protected CacheLog mLog
kLineBreak
protected final java.lang.String kLineBreak
mMaxSize
protected long mMaxSize
mRecycle
protected boolean mRecycle
mDefaultExpire
protected long mDefaultExpire
mDynamicMaintanence
protected boolean mDynamicMaintanence
GenCache
public GenCache(long l,
boolean flag,
long l1,
CacheLog cachelog)
dispose
protected void dispose()
existsCacheEntry
protected boolean existsCacheEntry(GenCacheEntry gencacheentry)
expireCacheEntries
protected void expireCacheEntries()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
freeCacheItems
protected long freeCacheItems(int i)
freeCacheSpace
protected long freeCacheSpace(long l)
getCacheValue
protected java.lang.Object getCacheValue(java.lang.Object obj)
getDefaultExpire
public long getDefaultExpire()
getLock
public boolean getLock()
getMaxSize
public long getMaxSize()
getRecycle
public boolean getRecycle()
getResString
protected java.lang.String getResString(java.lang.String s)
isCacheEnabled
public boolean isCacheEnabled()
isCacheEntryExpired
protected boolean isCacheEntryExpired(GenCacheEntry gencacheentry)
logCacheMessage
protected void logCacheMessage(java.lang.String s,
int i)
logHitCounts
public void logHitCounts()
purge
public void purge()
removeCacheEntry
protected void removeCacheEntry(GenCacheEntry gencacheentry)
removeCacheValue
protected void removeCacheValue(java.lang.Object obj)
setCacheEntry
protected boolean setCacheEntry(GenCacheEntry gencacheentry)
setCacheValue
protected boolean setCacheValue(java.lang.Object obj,
java.lang.Object obj1,
long l,
long l1)
setDefaultExpire
public void setDefaultExpire(long l)
setLock
public void setLock(boolean flag)
setMaxSize
public void setMaxSize(long l)
setRecycle
public void setRecycle(boolean flag)
verifyCacheValue
protected boolean verifyCacheValue(GenCacheEntry gencacheentry)