public interface WanBatchSender
| Modifier and Type | Method and Description |
|---|---|
void |
init(com.hazelcast.instance.Node node,
WanBatchReplication publisher)
Initialises this sender.
|
com.hazelcast.core.ICompletableFuture<Boolean> |
send(BatchWanReplicationEvent batchReplicationEvent,
com.hazelcast.nio.Address target)
Sends the WAN batch to the target address and returns a future
representing the pending completion of the invocation.
|
void init(com.hazelcast.instance.Node node,
WanBatchReplication publisher)
node - the node on which this sender is runningpublisher - the WAN publisher for which this sender is used to send batches forcom.hazelcast.core.ICompletableFuture<Boolean> send(BatchWanReplicationEvent batchReplicationEvent, com.hazelcast.nio.Address target)
batchReplicationEvent - the WAN batch eventstarget - the target addresstrue if the batch was sent successfullyCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.