public static class TestSerialReplicationEndpoint.TestEndpoint extends org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint
org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint.PeerRegionServerListener
Modifier and Type | Field and Description |
---|---|
private static BlockingQueue<org.apache.hadoop.hbase.wal.WAL.Entry> |
entryQueue |
Constructor and Description |
---|
TestEndpoint() |
Modifier and Type | Method and Description |
---|---|
boolean |
canReplicateToSameCluster() |
protected Callable<Integer> |
createReplicator(List<org.apache.hadoop.hbase.wal.WAL.Entry> entries,
int ordinal,
int timeout) |
static List<org.apache.hadoop.hbase.wal.WAL.Entry> |
getEntries() |
List<org.apache.hadoop.hbase.ServerName> |
getRegionServers() |
static void |
reset() |
createConnection, createReplicationSinkManager, doStop, filterNotExistColumnFamilyEdits, filterNotExistTableEdits, init, isNoSuchColumnFamilyException, isPeerEnabled, isTableNotFoundException, replicate, replicateEntries
abort, disconnect, doStart, fetchSlavesAddresses, getLastRegionServerUpdate, getPeerUUID, getZkw, isAborted, reconnect, setRegionServers, start, stop
getNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, isStarting, peerConfigUpdated
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString
private static final BlockingQueue<org.apache.hadoop.hbase.wal.WAL.Entry> entryQueue
public TestEndpoint()
public static void reset()
public static List<org.apache.hadoop.hbase.wal.WAL.Entry> getEntries()
public boolean canReplicateToSameCluster()
canReplicateToSameCluster
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
canReplicateToSameCluster
in class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
protected Callable<Integer> createReplicator(List<org.apache.hadoop.hbase.wal.WAL.Entry> entries, int ordinal, int timeout)
createReplicator
in class org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint
public List<org.apache.hadoop.hbase.ServerName> getRegionServers()
getRegionServers
in class org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.