public static class TestReplicationEndpoint.InterClusterReplicationEndpointForTest extends org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint
| Modifier and Type | Class and Description |
|---|---|
protected class |
TestReplicationEndpoint.InterClusterReplicationEndpointForTest.DummyReplicator |
protected class |
TestReplicationEndpoint.InterClusterReplicationEndpointForTest.FailingDummyReplicator |
org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint.Replicatororg.apache.hadoop.hbase.replication.HBaseReplicationEndpoint.PeerRegionServerListener| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
failedOnce |
(package private) static AtomicInteger |
replicateCount |
| Constructor and Description |
|---|
InterClusterReplicationEndpointForTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint.Replicator |
createReplicator(List<org.apache.hadoop.hbase.wal.WAL.Entry> entries,
int ordinal) |
boolean |
replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) |
doStop, init, isPeerEnabled, sleepForRetriesabort, disconnect, doStart, fetchSlavesAddresses, getLastRegionServerUpdate, getPeerUUID, getRegionServers, getZkw, isAborted, reconnect, reloadZkWatcher, setRegionServers, start, stopcanReplicateToSameCluster, getNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, isStarting, peerConfigUpdatedaddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringstatic AtomicInteger replicateCount
static boolean failedOnce
public InterClusterReplicationEndpointForTest()
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext)
replicate in interface org.apache.hadoop.hbase.replication.ReplicationEndpointreplicate in class org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpointprotected org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint.Replicator createReplicator(List<org.apache.hadoop.hbase.wal.WAL.Entry> entries, int ordinal)
createReplicator in class org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpointCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.