mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
More replication API renames and Wiki updated
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user