public class WanPublisherMerkleTreeSyncSupport extends Object implements WanPublisherSyncSupport
| Modifier and Type | Method and Description |
|---|---|
void |
destroyMapData(String mapName)
Releases all resources for the map with the given
mapName. |
Map<String,com.hazelcast.wan.merkletree.ConsistencyCheckResult> |
getLastConsistencyCheckResults()
Returns the results of the last WAN consistency checks, grouped by map name.
|
Map<String,com.hazelcast.wan.WanSyncStats> |
getLastSyncStats()
Returns the statistics about the last synchronization
|
void |
processEvent(WanConsistencyCheckEvent event,
WanAntiEntropyEventResult result)
Processes the WAN merkle tree root check event and updates the
result with the processing results. |
void |
processEvent(WanSyncEvent event,
WanAntiEntropyEventResult result)
Processes the WAN merkle tree sync event.
|
void |
removeReplicationEvent(EnterpriseMapReplicationObject sync)
Decrements the counter for pending WAN sync events.
|
public void processEvent(WanConsistencyCheckEvent event, WanAntiEntropyEventResult result) throws Exception
result with the processing results.processEvent in interface WanPublisherSyncSupportevent - WAN merkle tree root check eventresult - the processing resultException - if there was an exception when waiting for the results
of the merkle tree rootspublic void removeReplicationEvent(EnterpriseMapReplicationObject sync)
WanPublisherSyncSupportremoveReplicationEvent in interface WanPublisherSyncSupportsync - WAN sync eventpublic void processEvent(WanSyncEvent event, WanAntiEntropyEventResult result) throws Exception
processEvent in interface WanPublisherSyncSupportevent - WAN merkle tree sync eventresult - the result of the processingException - if there was an exception when waiting for the results
of the merkle tree rootspublic Map<String,com.hazelcast.wan.merkletree.ConsistencyCheckResult> getLastConsistencyCheckResults()
WanPublisherSyncSupportgetLastConsistencyCheckResults in interface WanPublisherSyncSupportpublic Map<String,com.hazelcast.wan.WanSyncStats> getLastSyncStats()
WanPublisherSyncSupportgetLastSyncStats in interface WanPublisherSyncSupportpublic void destroyMapData(String mapName)
WanPublisherSyncSupportmapName.destroyMapData in interface WanPublisherSyncSupportmapName - the map nameCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.