K
- V
- public interface Diskable<K,V>
Modifier and Type | Method and Description |
---|---|
java.util.Set<K> |
commit(java.util.Map<K,V> toCommit)
This method should return only after successfully persisting the
key,value pair, otherwise it should throw an exception.
|
V |
restore(K key) |
java.util.Set<K> commit(java.util.Map<K,V> toCommit) throws java.io.IOException
toCommit
- java.io.IOException