Class TestReplicationEndpoint.ReplicationEndpointForTest
java.lang.Object
org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
org.apache.hadoop.hbase.replication.TestReplicationEndpoint.ReplicationEndpointForTest
- All Implemented Interfaces:
org.apache.hadoop.hbase.replication.ReplicationEndpoint,org.apache.hadoop.hbase.replication.ReplicationPeerConfigListener,org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service
- Direct Known Subclasses:
TestReplicationEndpoint.ReplicationEndpointReturningFalse,TestReplicationEndpoint.ReplicationEndpointWithWALEntryFilter,TestReplicationEndpoint.SleepingReplicationEndpointForTest
- Enclosing class:
- TestReplicationEndpoint
public static class TestReplicationEndpoint.ReplicationEndpointForTest
extends org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
-
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.ReplicateContextNested classes/interfaces inherited from interface org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service
org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service.Listener, org.apache.hbase.thirdparty.com.google.common.util.concurrent.Service.State -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static AtomicInteger(package private) static List<org.apache.hadoop.hbase.wal.WAL.Entry>(package private) static AtomicInteger(package private) static AtomicInteger(package private) static AtomicInteger(package private) static UUIDFields inherited from class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
ctx, REPLICATION_WALENTRYFILTER_CONFIG_KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.replication.BaseReplicationEndpoint
getNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, init, isStarting, peerConfigUpdatedMethods inherited from class org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.replication.ReplicationEndpoint
awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning
-
Field Details
-
uuid
-
contructedCount
-
startedCount
-
stoppedCount
-
replicateCount
-
lastEntries
-
-
Constructor Details
-
ReplicationEndpointForTest
public ReplicationEndpointForTest()
-
-
Method Details
-
getPeerUUID
-
replicate
public boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext replicateContext) -
start
-
stop
-
doStart
- Specified by:
doStartin classorg.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
-
doStop
- Specified by:
doStopin classorg.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService
-
canReplicateToSameCluster
- Specified by:
canReplicateToSameClusterin interfaceorg.apache.hadoop.hbase.replication.ReplicationEndpoint- Overrides:
canReplicateToSameClusterin classorg.apache.hadoop.hbase.replication.BaseReplicationEndpoint
-