From bc10ed099ceba9bc2485eef08308a5392767bbf1 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 20 Oct 2014 17:31:58 +0100 Subject: [PATCH] HCOLL-167 updated the documentation to this new style - ".file(file).create();" --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee345e995..51cc157cb 100644 --- a/README.md +++ b/README.md @@ -488,7 +488,7 @@ TcpReplicationConfig tcpConfig = ... map = ChronicleMapBuilder .of(Integer.class, CharSequence.class) .addReplicator(Replicators.tcp(identifier, tcpConfig)) - .create(file); + .create(); ``` ### Bootstrapping @@ -593,7 +593,7 @@ Attaching ChannelProvider replication to the map: ChronicleMap map = ChronicleMapBuilder.of(Integer.class, CharSequence.class) .entries(1000) .channel(channelProviderA.createChannel((short) 1)) - .create(getPersistenceFile()); + .create(); ``` The chronicle channel is use to identify which map is to be replicated to which other map on