| Constructor and Description |
|---|
ExpiringMap(long keepaliveTimeout) |
ExpiringMap(long keepaliveTimeout,
long checkIntervalMs) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
close() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<T,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isClosed() |
boolean |
isEmpty() |
Set<T> |
keySet() |
V |
put(T key,
V value) |
void |
putAll(Map<? extends T,? extends V> m) |
void |
putOrTouch(T key,
V value) |
V |
remove(Object key) |
int |
size() |
void |
touch(T key) |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ExpiringMap(long keepaliveTimeout)
public ExpiringMap(long keepaliveTimeout,
long checkIntervalMs)
public boolean containsKey(Object key)
containsKey in interface Map<T,V>public boolean containsValue(Object value)
containsValue in interface Map<T,V>public boolean close()
close in interface org.jvnet.hk2.internal.Closeablepublic void touch(T key)
public boolean isClosed()
isClosed in interface org.jvnet.hk2.internal.CloseableCopyright © 2018. All rights reserved.