public interface SharedHashMap<K,V> extends ConcurrentMap<K,V>, Closeable
Modifier and Type | Method and Description |
---|---|
V |
acquireUsing(K key,
V value)
Acquire a value for a key, creating if absent.
|
File |
file() |
V |
getUsing(K key,
V value)
Get a value for a key if available.
|
long |
longSize() |
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
long longSize()
size()
V getUsing(K key, V value)
key
- to lookup.value
- to reuse if possible. If null, a new object will be created.V acquireUsing(K key, V value)
key
- to lookup.value
- to reuse if possible. If null, a new object will be created.File file()
Copyright © 2014. All rights reserved.