|
Java EE 5 SDK | ||||||||
| 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,
Object key,
Object value,
int size)
|
| Method Summary | |
|---|---|
protected int |
getHashCode()
get the item's hashCode |
protected Object |
getKey()
get the item's key |
protected int |
getSize()
|
protected Object |
getValue()
get the item's value |
protected Object |
refreshValue(Object value,
int newSize)
refresh the item's value |
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,
Object key,
Object value,
int size)
| Method Detail |
|---|
protected int getHashCode()
protected Object getKey()
protected Object getValue()
protected int getSize()
protected Object refreshValue(Object value,
int newSize)
value - value to be updatednewSize - of the fieldpublic String toString()
toString in class Object
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.