Class TestNonHBaseReplicationEndpoint.NonHBaseReplicationEndpoint
java.lang.Object
org.apache.hadoop.hbase.replication.TestNonHBaseReplicationEndpoint.NonHBaseReplicationEndpoint
- All Implemented Interfaces:
org.apache.hadoop.hbase.replication.ReplicationEndpoint
,org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
- Enclosing class:
- TestNonHBaseReplicationEndpoint
public static class TestNonHBaseReplicationEndpoint.NonHBaseReplicationEndpoint
extends Object
implements org.apache.hadoop.hbase.replication.ReplicationEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context, org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
awaitRunning
(long timeout, TimeUnit unit) void
void
awaitTerminated
(long timeout, TimeUnit unit) boolean
org.apache.hadoop.hbase.replication.WALEntryFilter
void
init
(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) boolean
boolean
void
peerConfigUpdated
(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc) boolean
replicate
(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) void
start()
void
stop()
-
Field Details
-
running
-
-
Constructor Details
-
NonHBaseReplicationEndpoint
public NonHBaseReplicationEndpoint()
-
-
Method Details
-
init
public void init(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) throws IOException - Specified by:
init
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
- Throws:
IOException
-
canReplicateToSameCluster
- Specified by:
canReplicateToSameCluster
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
getPeerUUID
- Specified by:
getPeerUUID
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
getWALEntryfilter
- Specified by:
getWALEntryfilter
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
replicate
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) - Specified by:
replicate
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
isRunning
- Specified by:
isRunning
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
isStarting
- Specified by:
isStarting
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
start
- Specified by:
start
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitRunning
- Specified by:
awaitRunning
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitRunning
- Specified by:
awaitRunning
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
stop
- Specified by:
stop
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitTerminated
- Specified by:
awaitTerminated
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitTerminated
- Specified by:
awaitTerminated
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
failureCause
- Specified by:
failureCause
in interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
peerConfigUpdated
- Specified by:
peerConfigUpdated
in interfaceorg.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
-