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.ReplicationEndpointIOExceptionpublic boolean canReplicateToSameCluster()
canReplicateToSameCluster in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic UUID getPeerUUID()
getPeerUUID in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic org.apache.hadoop.hbase.replication.WALEntryFilter getWALEntryfilter()
getWALEntryfilter in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext)
replicate in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic boolean isRunning()
isRunning in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic boolean isStarting()
isStarting in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void start()
start in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void awaitRunning()
awaitRunning in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void awaitRunning(long timeout, TimeUnit unit)
awaitRunning in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void stop()
stop in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void awaitTerminated()
awaitTerminated in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void awaitTerminated(long timeout, TimeUnit unit)
awaitTerminated in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic Throwable failureCause()
failureCause in interface org.apache.hadoop.hbase.replication.ReplicationEndpointpublic void peerConfigUpdated(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc)
peerConfigUpdated in interface org.apache.hadoop.hbase.replication.ReplicationPeerConfigListenerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.