public static class TestReplicationEndpoint.ReplicationEndpointForTest extends BaseReplicationEndpoint
ReplicationEndpoint.Context, ReplicationEndpoint.ReplicateContext
ctx
Constructor and Description |
---|
ReplicationEndpointForTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
UUID |
getPeerUUID()
Returns a UUID of the provided peer id.
|
boolean |
replicate(ReplicationEndpoint.ReplicateContext replicateContext)
Replicate the given set of entries (in the context) to the other cluster.
|
canReplicateToSameCluster, getScopeWALEntryFilter, getTableCfWALEntryFilter, getWALEntryfilter, init
public UUID getPeerUUID()
ReplicationEndpoint
public boolean replicate(ReplicationEndpoint.ReplicateContext replicateContext)
ReplicationEndpoint
replicateContext
- a context where WAL entries and other
parameters can be obtained.protected void doStart()
protected void doStop()