Add ChronicleHashBuilder.createOrRecoverPersistedTo(file, sameLibraryVersion) method and emphasize in docs, that the boolean flag in the 'recoverPersistedTo' family of methods couldn't be true, if the version of the library, with which the Chronicle Map persisted to the given file was created, could be different from the present version of the Chronicle Map library

This commit is contained in:
leventov
2017-02-19 22:02:38 -06:00
parent 59a2cd8d80
commit b9893ffab7
6 changed files with 101 additions and 62 deletions
@@ -50,7 +50,7 @@ import java.util.concurrent.ConcurrentMap;
* @param <V> the map value type
* @see ChronicleMapBuilder#create()
* @see ChronicleMapBuilder#createPersistedTo(File)
* @see ChronicleMapBuilder#createOrRecoverPersistedTo(File)
* @see ChronicleMapBuilder#createOrRecoverPersistedTo(File, boolean)
*/
public interface ChronicleMap<K, V> extends ConcurrentMap<K, V>,
ChronicleHash<K, MapEntry<K, V>, MapSegmentContext<K, V, ?>,