public class WanEventCounter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WanEventCounter.EventCounter
Counter for WAN events for a single map or cache.
|
Constructor and Description |
---|
WanEventCounter() |
Modifier and Type | Method and Description |
---|---|
ConcurrentHashMap<String,WanEventCounter.EventCounter> |
getEventCounterMap()
Returns a map from distributed object name to
WanEventCounter.EventCounter . |
void |
incrementDropped(String distributedObjectName)
Increment the number of dropped events for the
distributedObjectName . |
void |
incrementRemove(String distributedObjectName)
Increment the number of remove events for the
distributedObjectName . |
void |
incrementSync(String distributedObjectName)
Increment the number of sync events for the
distributedObjectName . |
void |
incrementUpdate(String distributedObjectName)
Increment the number of update events for the
distributedObjectName . |
void |
removeCounter(String dataStructureName)
Removes the counter for the given
dataStructureName . |
public void incrementSync(String distributedObjectName)
distributedObjectName
.public void incrementUpdate(String distributedObjectName)
distributedObjectName
.public void incrementRemove(String distributedObjectName)
distributedObjectName
.public void incrementDropped(String distributedObjectName)
distributedObjectName
.public void removeCounter(String dataStructureName)
dataStructureName
.public ConcurrentHashMap<String,WanEventCounter.EventCounter> getEventCounterMap()
WanEventCounter.EventCounter
.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.