|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheInfo
Interface to describe how much of a cache is in use.
Method Summary | |
---|---|
int |
getEntryCount()
Number of cache entries. |
long |
getMaxSize()
Number of bytes the cache should use at the maximum. |
long |
getUsedSize()
Number of bytes currently in use by cache. |
Method Detail |
---|
long getUsedSize()
getMaxSize()
in case there is only one entry in the cache bigger than this, or (in case entry size can
not be estimated before adding them) temporarely when adding an entry before removing an old
one.
long getMaxSize()
int getEntryCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |