public class ExpiringConcurrentHashMap<K,V>
extends java.util.concurrent.ConcurrentHashMap<K,V>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExpiringConcurrentHashMap.ExpiryConfiguration |
java.util.concurrent.ConcurrentHashMap.KeySetView<K,V>| Constructor and Description |
|---|
ExpiringConcurrentHashMap(ExpiringConcurrentHashMap.ExpiryConfiguration expiryConfig) |
ExpiringConcurrentHashMap(long expiryInMillis) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(java.lang.Object key) |
long |
getExpiryTime() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> m) |
V |
putIfAbsent(K key,
V value) |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuespublic ExpiringConcurrentHashMap(long expiryInMillis)
public ExpiringConcurrentHashMap(ExpiringConcurrentHashMap.ExpiryConfiguration expiryConfig)
Copyright © 2022. All rights reserved.