HCOLL-134 added the following method - bootstapOnlyLocalEntries(boolean bootstapOnlyLocalEntries)

This commit is contained in:
Rob Austin
2014-11-18 18:40:01 +00:00
parent 01faf866d9
commit 266da0be31
9 changed files with 71 additions and 29 deletions
@@ -43,7 +43,7 @@ class ReplicationHubFindByName implements FindByName {
public static final int MAP_BY_NAME_CHANNEL = 1;
private final AtomicInteger nextFreeChannel = new AtomicInteger(1);
private final AtomicInteger nextFreeChannel = new AtomicInteger(2);
private final Map<String, ChronicleMapBuilderWithChannelId> map;
private final ReplicationHub replicationHub;
@@ -73,7 +73,7 @@ class ReplicationHubFindByName implements FindByName {
};
this.map = (Map) of(CharSequence.class, ChronicleMapBuilderWithChannelId.class)
.entrySize(2500)
.entrySize(3000)
.entries(128)
.eventListener(listener)
.instance()