More replication API renames and Wiki updated

This commit is contained in:
leventov
2014-11-08 05:41:17 +03:00
parent c0d9099da9
commit 1790f7c511
7 changed files with 46 additions and 40 deletions
@@ -387,7 +387,7 @@ public interface ChronicleHashBuilder<K, C extends ChronicleHash,
/**
* Shortcut for {@code replication(SimpleReplication.builder()
* .tcpTransportAndNetwork(tcpTransportAndNetwork).create(identifier))}.
* .tcpTransportAndNetwork(tcpTransportAndNetwork).createWithId(identifier))}.
*
* @param identifier the network-wide identifier of the containers, created by this builder
* @param tcpTransportAndNetwork configuration of tcp connection and network
@@ -82,7 +82,7 @@ public final class ReplicationHub extends AbstractReplication {
return this;
}
public ReplicationHub create(byte identifier) throws IOException {
public ReplicationHub createWithId(byte identifier) throws IOException {
check();
return new ReplicationHub(identifier, this);
}