public class PersistentMap<V> extends AbstractMap<String,V> implements Closeable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PersistentMap(File dir,
Class<V> type) |
PersistentMap(File dir,
Class<V> type,
Map<String,V> map) |
PersistentMap(File dir,
Type type) |
PersistentMap(File dir,
Type type,
Map<String,V> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clear(long whenOlder) |
void |
close() |
Set<Map.Entry<String,V>> |
entrySet() |
Set<String> |
keySet() |
V |
put(String key,
V value) |
V |
remove(String key) |
String |
toString() |
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic PersistentMap(File dir, Class<V> type, Map<String,V> map) throws Exception
Exceptionpublic void clear()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String toString()
toString in class AbstractMap<String,V>public void clear(long whenOlder)
Copyright © 2019 aQute SARL. All rights reserved.