Clearly separated notion of entries and chunks, averageKeySize()/ValueSize() instead of keySize()/valueSize(), minor fixes and refactorings

This commit is contained in:
leventov
2014-12-26 05:22:54 +07:00
parent 06fcaa4c71
commit 81f6142af7
44 changed files with 923 additions and 587 deletions
@@ -35,7 +35,7 @@ public class TestNesterInterfaceMarshal {
ChronicleMapBuilder builder = ChronicleMapBuilder
.of(CharSequence.class, TestInstrumentVOInterface.class)
.entries(5000L)
.keySize(10)
.averageKeySize(10)
.replication((byte) 1, tcpTransportAndNetworkConfig);
@@ -56,7 +56,7 @@ public class TestNesterInterfaceMarshal {
.of(CharSequence.class, TestInstrumentVOInterface.class)
.putReturnsNull(true)
.removeReturnsNull(true)
.entries(5000L).keySize(10)
.entries(5000L).averageKeySize(10)
.replication((byte) 2, tcpTransportAndNetworkConfig1);
@@ -120,7 +120,7 @@ public class TestNesterInterfaceMarshal {
ChronicleMapBuilder builder = ChronicleMapBuilder
.of(CharSequence.class, TestInstrumentVOInterface.class)
.entries(5000L)
.keySize(10)
.averageKeySize(10)
.replication((byte) 1, tcpTransportAndNetworkConfig);
@@ -145,7 +145,7 @@ public class TestNesterInterfaceMarshal {
.putReturnsNull(true)
.removeReturnsNull(true)
.entries(5000L)
.keySize(10)
.averageKeySize(10)
.replication((byte) 2, tcpTransportAndNetworkConfig);