public class LatencyTrackingWanBatchSender extends Object implements WanBatchSender
WanBatchSender implementation that additionally tracks
the latency for all successful transmissions of the WAN batches.| Constructor and Description |
|---|
LatencyTrackingWanBatchSender(WanBatchSender delegate,
com.hazelcast.internal.diagnostics.StoreLatencyPlugin plugin,
String wanPublisherId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
send(BatchWanReplicationEvent batchReplicationEvent,
com.hazelcast.nio.Address target)
Sends the WAN batch to the target address
|
public LatencyTrackingWanBatchSender(WanBatchSender delegate, com.hazelcast.internal.diagnostics.StoreLatencyPlugin plugin, String wanPublisherId)
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.