mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-167 updated docs
This commit is contained in:
@@ -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();
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user