public class WanEventCounters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WanEventCounters.DistributedObjectWanEventCounters
Counters for WAN events for a single map or cache.
|
Constructor and Description |
---|
WanEventCounters() |
Modifier and Type | Method and Description |
---|---|
ConcurrentHashMap<String,WanEventCounters.DistributedObjectWanEventCounters> |
getEventCounterMap()
Returns a map from distributed object name to
WanEventCounters.DistributedObjectWanEventCounters . |
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 |
incrementSync(String distributedObjectName,
int count)
Increment the number of sync events for the
distributedObjectName
by count . |
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 incrementSync(String distributedObjectName, int count)
distributedObjectName
by count
.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,WanEventCounters.DistributedObjectWanEventCounters> getEventCounterMap()
WanEventCounters.DistributedObjectWanEventCounters
.Copyright © 2024 Hazelcast, Inc.. All rights reserved.