public static class TestReplicationEndpoint.SleepingReplicationEndpointForTest extends TestReplicationEndpoint.ReplicationEndpointForTest
Snippet for `hbase shell`:
create 't', 'f'
add_peer '1', ENDPOINT_CLASSNAME => 'org.apache.hadoop.hbase.replication.' + \
'TestReplicationEndpoint$SleepingReplicationEndpointForTest'
alter 't', {NAME=>'f', REPLICATION_SCOPE=>1}
| Modifier and Type | Field and Description |
|---|---|
private long |
duration |
contructedCount, lastEntries, replicateCount, startedCount, stoppedCount, uuid| Constructor and Description |
|---|
SleepingReplicationEndpointForTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) |
boolean |
replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext context) |
canReplicateToSameCluster, doStart, doStop, getPeerUUID, start, stopgetNamespaceTableCfWALEntryFilter, getScopeWALEntryFilter, getWALEntryfilter, isStarting, peerConfigUpdatedaddListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringprivate long duration
public SleepingReplicationEndpointForTest()
public void init(org.apache.hadoop.hbase.replication.ReplicationEndpoint.Context context) throws IOException
init in interface org.apache.hadoop.hbase.replication.ReplicationEndpointinit in class org.apache.hadoop.hbase.replication.BaseReplicationEndpointIOExceptionpublic boolean replicate(org.apache.hadoop.hbase.replication.ReplicationEndpoint.ReplicateContext context)
replicate in interface org.apache.hadoop.hbase.replication.ReplicationEndpointreplicate in class TestReplicationEndpoint.ReplicationEndpointForTestCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.