public class DefaultWanBatchSender extends Object implements WanBatchSender
WanBatchSender.
It will send the WAN batch as a WanOperation to the target
address and block for a configurable amount of time. It will also
remove a connection if there was an exception while sending the
operation.| Constructor and Description |
|---|
DefaultWanBatchSender(WanConnectionManager connectionManager,
com.hazelcast.logging.ILogger logger,
com.hazelcast.spi.serialization.SerializationService serializationService,
com.hazelcast.spi.OperationService operationService,
WanConfigurationContext configurationContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
send(BatchWanReplicationEvent batchReplicationEvent,
com.hazelcast.nio.Address target)
Sends the WAN batch to the target address
|
public DefaultWanBatchSender(WanConnectionManager connectionManager, com.hazelcast.logging.ILogger logger, com.hazelcast.spi.serialization.SerializationService serializationService, com.hazelcast.spi.OperationService operationService, WanConfigurationContext configurationContext)
public boolean send(BatchWanReplicationEvent batchReplicationEvent, com.hazelcast.nio.Address target)
WanBatchSendersend in interface WanBatchSenderbatchReplicationEvent - the WAN batch eventstarget - the target addresstrue if the batch was sent successfullyCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.