public static class TestNonHBaseReplicationEndpoint.NonHBaseReplicationEndpoint extends Object implements org.apache.hadoop.hbase.replication.ReplicationEndpoint
Modifier and Type | Field and Description |
---|---|
private boolean |
running |
Constructor and Description |
---|
NonHBaseReplicationEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
awaitRunning() |
void |
awaitRunning(long timeout,
TimeUnit unit) |
void |
awaitTerminated() |
void |
awaitTerminated(long timeout,
TimeUnit unit) |
boolean |
canReplicateToSameCluster() |
Throwable |
failureCause() |
UUID |
getPeerUUID() |
org.apache.hadoop.hbase.replication.WALEntryFilter |
getWALEntryfilter() |
void |
init(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) |
boolean |
isRunning() |
boolean |
isStarting() |
void |
peerConfigUpdated(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc) |
boolean |
replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) |
void |
start() |
void |
stop() |
private boolean running
public NonHBaseReplicationEndpoint()
public void init(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) throws IOException
init
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
IOException
public boolean canReplicateToSameCluster()
canReplicateToSameCluster
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public UUID getPeerUUID()
getPeerUUID
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public org.apache.hadoop.hbase.replication.WALEntryFilter getWALEntryfilter()
getWALEntryfilter
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext)
replicate
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public boolean isRunning()
isRunning
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public boolean isStarting()
isStarting
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void start()
start
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void awaitRunning()
awaitRunning
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void awaitRunning(long timeout, TimeUnit unit)
awaitRunning
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void stop()
stop
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void awaitTerminated()
awaitTerminated
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void awaitTerminated(long timeout, TimeUnit unit)
awaitTerminated
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public Throwable failureCause()
failureCause
in interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
public void peerConfigUpdated(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc)
peerConfigUpdated
in interface org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.