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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidawaitRunning(long timeout, TimeUnit unit) voidvoidawaitTerminated(long timeout, TimeUnit unit) booleanorg.apache.hadoop.hbase.replication.WALEntryFiltervoidinit(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) booleanbooleanvoidpeerConfigUpdated(org.apache.hadoop.hbase.replication.ReplicationPeerConfig rpc) booleanreplicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) voidstart()voidstop()
-
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:
initin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint- Throws:
IOException
-
canReplicateToSameCluster
- Specified by:
canReplicateToSameClusterin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
getPeerUUID
- Specified by:
getPeerUUIDin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
getWALEntryfilter
- Specified by:
getWALEntryfilterin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
replicate
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) - Specified by:
replicatein interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
isRunning
- Specified by:
isRunningin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
isStarting
- Specified by:
isStartingin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
start
- Specified by:
startin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitRunning
- Specified by:
awaitRunningin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitRunning
- Specified by:
awaitRunningin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
stop
- Specified by:
stopin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitTerminated
- Specified by:
awaitTerminatedin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
awaitTerminated
- Specified by:
awaitTerminatedin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
failureCause
- Specified by:
failureCausein interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint
-
peerConfigUpdated
- Specified by:
peerConfigUpdatedin interfaceorg.apache.hadoop.hbase.replication.ReplicationPeerConfigListener
-