@InterfaceAudience.Private public abstract class BaseReplicationEndpoint extends org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService implements ReplicationEndpoint
ReplicationEndpoints. For internal use. Uses our internal
Guava.ReplicationEndpoint.Context, ReplicationEndpoint.ReplicateContext| 限定符和类型 | 字段和说明 |
|---|---|
protected ReplicationEndpoint.Context |
ctx |
static String |
REPLICATION_WALENTRYFILTER_CONFIG_KEY |
| 构造器和说明 |
|---|
BaseReplicationEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canReplicateToSameCluster()
Whether or not, the replication endpoint can replicate to it's source cluster with the same
UUID
|
protected WALEntryFilter |
getNamespaceTableCfWALEntryFilter()
Returns a WALEntryFilter for checking replication per table and CF.
|
protected WALEntryFilter |
getScopeWALEntryFilter()
Returns a WALEntryFilter for checking the scope.
|
WALEntryFilter |
getWALEntryfilter()
Returns a default set of filters
|
void |
init(ReplicationEndpoint.Context context)
Initialize the replication endpoint with the given context.
|
boolean |
isStarting() |
void |
peerConfigUpdated(ReplicationPeerConfig rpc) |
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, doStart, doStop, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitawaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, getPeerUUID, isRunning, replicate, start, stoppublic static final String REPLICATION_WALENTRYFILTER_CONFIG_KEY
protected ReplicationEndpoint.Context ctx
public void init(ReplicationEndpoint.Context context) throws IOException
ReplicationEndpointinit 在接口中 ReplicationEndpointcontext - replication contextIOException - error occur when initialize the endpoint.public void peerConfigUpdated(ReplicationPeerConfig rpc)
public WALEntryFilter getWALEntryfilter()
getWALEntryfilter 在接口中 ReplicationEndpointWALEntryFilter or null.protected WALEntryFilter getScopeWALEntryFilter()
protected WALEntryFilter getNamespaceTableCfWALEntryFilter()
public boolean canReplicateToSameCluster()
ReplicationEndpointcanReplicateToSameCluster 在接口中 ReplicationEndpointpublic boolean isStarting()
isStarting 在接口中 ReplicationEndpointtrue is this service is STARTING (but not yet RUNNING).Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.