@InterfaceAudience.LimitedPrivate(value="Replication") public abstract class BaseReplicationEndpoint extends com.google.common.util.concurrent.AbstractService implements ReplicationEndpoint
ReplicationEndpoints. Users should consider extending this
class rather than implementing ReplicationEndpoint directly for better backwards
compatibility.ReplicationEndpoint.Context, ReplicationEndpoint.ReplicateContext| 限定符和类型 | 字段和说明 |
|---|---|
protected ReplicationEndpoint.Context |
ctx |
| 构造器和说明 |
|---|
BaseReplicationEndpoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canReplicateToSameCluster()
Whether or not, the replication endpoint can replicate to it's source cluster with the same
UUID
|
void |
close() |
protected WALEntryFilter |
getScopeWALEntryFilter()
Returns a WALEntryFilter for checking the scope.
|
protected WALEntryFilter |
getTableCfWALEntryFilter()
Returns a WALEntryFilter for checking replication per table and CF.
|
WALEntryFilter |
getWALEntryfilter()
Returns a default set of filters
|
void |
init(ReplicationEndpoint.Context context)
Initialize the replication endpoint with the given context.
|
void |
peerConfigUpdated(ReplicationPeerConfig rpc) |
doStart, doStop, isRunning, notifyFailed, notifyStarted, notifyStopped, start, startAndWait, state, stop, stopAndWait, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPeerUUID, replicateprotected ReplicationEndpoint.Context ctx
public void init(ReplicationEndpoint.Context context) throws IOException
ReplicationEndpointinit 在接口中 ReplicationEndpointcontext - replication contextIOExceptionpublic void peerConfigUpdated(ReplicationPeerConfig rpc)
public WALEntryFilter getWALEntryfilter()
getWALEntryfilter 在接口中 ReplicationEndpointWALEntryFilter or null.protected WALEntryFilter getScopeWALEntryFilter()
protected WALEntryFilter getTableCfWALEntryFilter()
public boolean canReplicateToSameCluster()
ReplicationEndpointcanReplicateToSameCluster 在接口中 ReplicationEndpointpublic void close()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.