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, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public PersistentMap(File dir, Class<V> type, Map<String,V> map) throws Exception
Exception
public void clear()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public String toString()
toString
in class AbstractMap<String,V>
public void clear(long whenOlder)
Copyright © 2015 aQute SARL. All rights reserved.