mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-163 adde "int maxEntrySize =1024;"
This commit is contained in:
@@ -528,7 +528,8 @@ when using Chronicle Channels its the channels that are given the unique identif
|
||||
|
||||
``` java
|
||||
byte identifier = 2;
|
||||
ChannelReplicator channelReplicatorA = new ChannelReplicatorBuilder(identifier, 1024)
|
||||
int maxEntrySize =1024;
|
||||
ChannelReplicator channelReplicatorA = new ChannelReplicatorBuilder(identifier, maxEntrySize)
|
||||
.create();
|
||||
```
|
||||
|
||||
@@ -543,6 +544,7 @@ of buffers.
|
||||
Once you have created the ChannelReplicator you should attach your tcp configuration
|
||||
``` java
|
||||
byte identifier = 2;
|
||||
int maxEntrySize =1024;
|
||||
ChannelReplicator channelReplicator = new ChannelReplicatorBuilder(identifier, 1024)
|
||||
.tcpReplication(tcpConfig)
|
||||
.create();;
|
||||
|
||||
Reference in New Issue
Block a user