|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.appserv.util.cache.BaseCache.CacheItem
protected static class BaseCache.CacheItem
default CacheItem class implementation
| Constructor Summary | |
|---|---|
protected |
BaseCache.CacheItem(int hashCode,
java.lang.Object key,
java.lang.Object value,
int size)
|
| Method Summary | |
|---|---|
protected int |
getHashCode()
get the item's hashCode |
protected java.lang.Object |
getKey()
get the item's key |
protected int |
getSize()
|
protected java.lang.Object |
getValue()
get the item's value |
protected java.lang.Object |
refreshValue(java.lang.Object value,
int newSize)
refresh the item's value |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseCache.CacheItem(int hashCode,
java.lang.Object key,
java.lang.Object value,
int size)
| Method Detail |
|---|
protected int getHashCode()
protected java.lang.Object getKey()
protected java.lang.Object getValue()
protected int getSize()
protected java.lang.Object refreshValue(java.lang.Object value,
int newSize)
value - value to be updatednewSize - of the fieldpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||