Rob Austin
2020-03-25 15:08:04 +00:00
parent f76cb3bfcf
commit 2b6f416bb8
3 changed files with 57 additions and 4 deletions
@@ -204,7 +204,7 @@ public final class ChronicleMapBuilder<K, V> implements
private int maxChunksPerEntry = -1;
private int alignment = UNDEFINED_ALIGNMENT_CONFIG;
private long entries = -1L;
double maxBloatFactor = 1.0;
private double maxBloatFactor = 1.0;
private boolean allowSegmentTiering = true;
private double nonTieredSegmentsPercentile = 0.99999;
private boolean aligned64BitMemoryOperationsAtomic = OS.is64Bit();
@@ -1338,6 +1338,10 @@ public final class ChronicleMapBuilder<K, V> implements
return this;
}
public double maxBloatFactor() {
return maxBloatFactor;
}
@Override
public ChronicleMapBuilder<K, V> allowSegmentTiering(boolean allowSegmentTiering) {
this.allowSegmentTiering = allowSegmentTiering;