replicate
public boolean replicate(ReplicationEndpoint.ReplicateContext replicateContext)
Replicate the given set of entries (in the context) to the other cluster.
Can block until all the given entries are replicated. Upon this method is returned,
all entries that were passed in the context are assumed to be persisted in the
target cluster.
- Specified by:
replicate
in interface ReplicationEndpoint
- Overrides:
replicate
in class VisibilityReplicationEndpoint
- Parameters:
replicateContext
- a context where WAL entries and other
parameters can be obtained.