CacheSecondLevel
Cache which wraps another cache (proxy pattern) and adds caching using map. This is useful for WeakReference, SoftReference or hard reference cache.
Methods
void
clear
()
void
clear
()
CacheObject
find
(int pos)
CacheObject
find
(int pos)
CacheObject
get
(int pos)
CacheObject
get
(int pos)
ArrayList
getAllChanged
()
ArrayList
getAllChanged
()
int
getMaxMemory
()
int
getMaxMemory
()
int
getMemory
()
int
getMemory
()
void
put
(CacheObject r)
void
put
(CacheObject r)
boolean
remove
(int pos)
boolean
remove
(int pos)
void
setMaxMemory
(int size)
void
setMaxMemory
(int size)
CacheObject
update
(int pos, CacheObject record)
CacheObject
update
(int pos, CacheObject record)