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)
Processes the WAN consistency check event.
|
void |
processEvent(WanSyncEvent event)
Processes the WAN sync event.
|
void |
removeReplicationEvent(EnterpriseMapReplicationObject sync)
Decrements the counter for pending WAN sync events.
|
public void processEvent(WanConsistencyCheckEvent event) throws Exception
result with the processing results.processEvent in interface WanPublisherSyncSupportevent - WAN merkle tree root check eventException - 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) throws Exception
processEvent in interface WanPublisherSyncSupportevent - WAN merkle tree sync eventException - 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.