HCOLL-163 adde "int maxEntrySize =1024;"

This commit is contained in:
Rob Austin
2014-10-13 18:28:33 +01:00
parent 3dbc62eb36
commit 97e768d856
+3 -1
View File
@@ -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();;