HCOLL-167 updated docs

This commit is contained in:
Rob Austin
2014-10-27 14:55:40 +00:00
parent 2a33c927a4
commit 35b7c1083d
+3 -2
View File
@@ -624,9 +624,10 @@ ChannelProvider channelProvider = new ChannelProviderBuilder()
Attaching ChannelProvider replication to the map:
``` java
short channel = (short) 2;
ChronicleMap<Integer, CharSequence> map = ChronicleMapBuilder.of(Integer.class, CharSequence.class)
.entries(1000)
.channel(channelProvider.createChannel((short) 1))
.entries(1000)
.channel(channelProvider.createChannel(channel)
.create();
```