mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Move Engine from Map 3 to Map 2
This commit is contained in:
@@ -1360,7 +1360,9 @@ public final class ChronicleMapBuilder<K, V> implements
|
||||
try {
|
||||
// pushingToMapEventListener();
|
||||
VanillaChronicleMap<K, ?, ?, V, ?, ?, ?> map = newMap(singleHashReplication, channel);
|
||||
OS.warnOnWindows(map.sizeInBytes());
|
||||
if(OS.warnOnWindows(map.sizeInBytes())){
|
||||
throw new IllegalStateException("Windows cannot support this configuration");
|
||||
}
|
||||
BytesStore bytesStore = new DirectStore(JDKObjectSerializer.INSTANCE,
|
||||
map.sizeInBytes(), true);
|
||||
map.createMappedStoreAndSegments(bytesStore);
|
||||
|
||||
Reference in New Issue
Block a user