|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.WeakHashMap<K,V>
rice.p2p.util.TimerWeakHashMap<K,V>
public class TimerWeakHashMap<K,V>
Weak hash map that holds hard link to keys for a minimum time.
| Nested Class Summary | |
|---|---|
static class |
TimerWeakHashMap.HardLinkTimerTask
|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
TimerWeakHashMap(Timer t,
int delay)
|
|
| Method Summary | |
|---|---|
V |
put(K key,
V val)
|
void |
refresh(Object key)
|
void |
refresh(Object key,
int delay)
|
| Methods inherited from class java.util.WeakHashMap |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
clone, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public TimerWeakHashMap(Timer t,
int delay)
| Method Detail |
|---|
public V put(K key,
V val)
put in interface Map<K,V>put in class WeakHashMap<K,V>public void refresh(Object key)
public void refresh(Object key,
int delay)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||