mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -326,7 +326,7 @@ public class NodeDiscovery {
|
||||
"going the grid.");
|
||||
}
|
||||
|
||||
if (possible == 128)
|
||||
if (possible == Byte.MAX_VALUE)
|
||||
possible = 0;
|
||||
else
|
||||
possible++;
|
||||
|
||||
@@ -32,8 +32,8 @@ public class BGChronicleTest {
|
||||
|
||||
return ChronicleMapBuilder.of(byte[].class, byte[].class)
|
||||
.entries(MAX_NUMBER_OF_EATERIES)
|
||||
.keySize(17)
|
||||
.valueSize(11)
|
||||
.constantKeySizeBySample(key)
|
||||
.constantValueSizeBySample(value)
|
||||
.putReturnsNull(true)
|
||||
.removeReturnsNull(true)
|
||||
.replication((byte) 1, serverConfig)
|
||||
@@ -56,8 +56,8 @@ public class BGChronicleTest {
|
||||
|
||||
|
||||
try (ChronicleMap<byte[], byte[]> map = ChronicleMapBuilder.of(byte[].class, byte[].class)
|
||||
.keySize(17)
|
||||
.valueSize(11)
|
||||
.constantKeySizeBySample(key)
|
||||
.constantValueSizeBySample(value)
|
||||
.putReturnsNull(true)
|
||||
.removeReturnsNull(true)
|
||||
.statelessClient(new InetSocketAddress(hostNameOrIpAddress, port)).create()) {
|
||||
|
||||
Reference in New Issue
Block a user