HCOLL-81 made publicly a single ChronicleMapBuilder, that delegates onto internal implementations

This commit is contained in:
Rob Austin
2014-11-15 09:05:26 +00:00
parent 88df95fc76
commit 49fc123755
54 changed files with 1373 additions and 524 deletions
+4 -3
View File
@@ -19,7 +19,8 @@
package eg;
import net.openhft.affinity.AffinitySupport;
import net.openhft.chronicle.map.ChronicleMapOnHeapUpdatableBuilder;
import net.openhft.chronicle.map.ChronicleMapBuilder;
import net.openhft.chronicle.map.ChronicleMapBuilder;
import net.openhft.lang.io.Bytes;
import java.io.*;
@@ -40,8 +41,8 @@ public class BigData {
//run 1st test with no map, and Highwatermark set to 0
//then switch to Highwatermark set to MAXSIZE for subsequent test repeats
static AtomicInteger Highwatermark = new AtomicInteger((int) MAXSIZE);
static final ChronicleMapOnHeapUpdatableBuilder<Long, BigDataStuff> builder =
ChronicleMapOnHeapUpdatableBuilder.of(Long.class, BigDataStuff.class);
static final ChronicleMapBuilder<Long, BigDataStuff> builder =
ChronicleMapBuilder.of(Long.class, BigDataStuff.class);
// static AtomicInteger Highwatermark = new AtomicInteger(0);
static {