default void addReplicationPeer(String peerId, ReplicationPeerConfig peerConfig, boolean enabled)
    throws IOException {
    get(addReplicationPeerAsync(peerId, peerConfig, enabled), getSyncWaitTimeout(),
      TimeUnit.MILLISECONDS);
  }
Add a new replication peer for replicating data to slave cluster.
@param peerId     a short name that identifies the peer
@param peerConfig configuration for the replication peer
@param enabled    peer state, true if ENABLED and false if DISABLED
@throws IOException if a remote or network exception occurs
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java