public static class TestReplicator.FailureInjectingReplicationEndpointForTest extends TestReplicator.ReplicationEndpointForTest
org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint.PeerRegionServerListener
Modifier and Type | Field and Description |
---|---|
private AtomicBoolean |
failNext |
batchCount, entriesCount
Constructor and Description |
---|
FailureInjectingReplicationEndpointForTest() |
Modifier and Type | Method and Description |
---|---|
protected Callable<Integer> |
createReplicator(List<org.apache.hadoop.hbase.wal.WAL.Entry> entries,
int ordinal,
int timeout) |
await, getBatchCount, getEntriesCount, pause, replicate, resume, setBatchCount, setEntriesCount
createConnection, createReplicationSinkManager, doStop, filterNotExistColumnFamilyEdits, filterNotExistTableEdits, init, isNoSuchColumnFamilyException, isPeerEnabled, isTableNotFoundException, replicateEntries
abort, disconnect, doStart, fetchSlavesAddresses, getLastRegionServerUpdate, getPeerUUID, getRegionServers, getZkw, isAborted, reconnect, setRegionServers, start, stop
canReplicateToSameCluster, getNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, isStarting, peerConfigUpdated
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString
private final AtomicBoolean failNext
public FailureInjectingReplicationEndpointForTest()
protected Callable<Integer> createReplicator(List<org.apache.hadoop.hbase.wal.WAL.Entry> entries, int ordinal, int timeout)
createReplicator
in class TestReplicator.ReplicationEndpointForTest
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.