public static final class TestDisablePeerModification.MockPeerStorage extends org.apache.hadoop.hbase.replication.FSReplicationPeerStorage
Constructor and Description |
---|
MockPeerStorage(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
addPeer(String peerId,
org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig,
boolean enabled,
org.apache.hadoop.hbase.replication.SyncReplicationState syncReplicationState) |
getPeerConfig, getPeerNewSyncReplicationState, getPeerSyncReplicationState, isPeerEnabled, listPeerIds, removePeer, setPeerNewSyncReplicationState, setPeerState, transitPeerSyncReplicationState, updatePeerConfig
public MockPeerStorage(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public void addPeer(String peerId, org.apache.hadoop.hbase.replication.ReplicationPeerConfig peerConfig, boolean enabled, org.apache.hadoop.hbase.replication.SyncReplicationState syncReplicationState) throws org.apache.hadoop.hbase.replication.ReplicationException
addPeer
in interface org.apache.hadoop.hbase.replication.ReplicationPeerStorage
addPeer
in class org.apache.hadoop.hbase.replication.FSReplicationPeerStorage
org.apache.hadoop.hbase.replication.ReplicationException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.