|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsqlg2.db.client.SoftCache<K,V>
public final class SoftCache<K,V>
Cache using soft references (GC can collect its keys). So this is kind of memory-sensitive cache.
| Constructor Summary | |
|---|---|
SoftCache()
|
|
| Method Summary | |
|---|---|
V |
get(K key)
|
void |
put(K key,
V value)
|
V |
remove(K key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoftCache()
| Method Detail |
|---|
public V get(K key)
public void put(K key,
V value)
public V remove(K key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||