public class DistributedServiceWanEventCounters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DistributedServiceWanEventCounters.DistributedObjectWanEventCounters
Counters for WAN events for a single map or cache.
|
Constructor and Description |
---|
DistributedServiceWanEventCounters() |
Modifier and Type | Method and Description |
---|---|
ConcurrentHashMap<String,DistributedServiceWanEventCounters.DistributedObjectWanEventCounters> |
getEventCounterMap()
Returns a map from distributed object name to
DistributedServiceWanEventCounters.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,DistributedServiceWanEventCounters.DistributedObjectWanEventCounters> getEventCounterMap()
DistributedServiceWanEventCounters.DistributedObjectWanEventCounters
.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.