Package com.hazelcast.wan
Class WanEventCounters
java.lang.Object
com.hazelcast.wan.WanEventCounters
Counters for WAN events for a single distributed object type (map or
 cache).
 This class may contain counters for a single WAN publisher or multiple
 WAN publishers, depending on its usage.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classCounters for WAN events for a single map or cache.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a map from distributed object name toWanEventCounters.DistributedObjectWanEventCounters.voidincrementDropped(String distributedObjectName) Increment the number of dropped events for thedistributedObjectName.voidincrementRemove(String distributedObjectName) Increment the number of remove events for thedistributedObjectName.voidincrementSync(String distributedObjectName) Increment the number of sync events for thedistributedObjectName.voidincrementSync(String distributedObjectName, int count) Increment the number of sync events for thedistributedObjectNamebycount.voidincrementUpdate(String distributedObjectName) Increment the number of update events for thedistributedObjectName.voidremoveCounter(String dataStructureName) Removes the counter for the givendataStructureName.
- 
Constructor Details- 
WanEventCounterspublic WanEventCounters()
 
- 
- 
Method Details- 
incrementSyncIncrement the number of sync events for thedistributedObjectName.
- 
incrementSyncIncrement the number of sync events for thedistributedObjectNamebycount.
- 
incrementUpdateIncrement the number of update events for thedistributedObjectName.
- 
incrementRemoveIncrement the number of remove events for thedistributedObjectName.
- 
incrementDroppedIncrement the number of dropped events for thedistributedObjectName.
- 
removeCounterRemoves the counter for the givendataStructureName.
- 
getEventCounterMappublic ConcurrentMap<String,WanEventCounters.DistributedObjectWanEventCounters> getEventCounterMap()Returns a map from distributed object name toWanEventCounters.DistributedObjectWanEventCounters.
 
-