public class DefaultAccumulatorInfoSupplier extends Object implements AccumulatorInfoSupplier
AccumulatorInfoSupplier.
 
 At most one thread can write to this class at a time.AccumulatorInfoSupplier| Constructor and Description | 
|---|
| DefaultAccumulatorInfoSupplier() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | accumulatorInfoCountOfMap(String mapName) | 
| AccumulatorInfo | getAccumulatorInfoOrNull(String mapName,
                        String cacheId)Returns  AccumulatorInfofor cache of maIMapp. | 
| void | putIfAbsent(String mapName,
           String cacheId,
           AccumulatorInfo info)Adds a new  AccumulatorInfofor the query-cache ofIMap. | 
| void | remove(String mapName,
      String cacheId)Removes  AccumulatorInfofrom this supplier. | 
public AccumulatorInfo getAccumulatorInfoOrNull(String mapName, String cacheId)
AccumulatorInfoSupplierAccumulatorInfo for cache of maIMapp.getAccumulatorInfoOrNull in interface AccumulatorInfoSuppliermapName - map name.cacheId - cache name.AccumulatorInfo for cache of map.public void putIfAbsent(String mapName, String cacheId, AccumulatorInfo info)
AccumulatorInfoSupplierAccumulatorInfo for the query-cache of IMap.putIfAbsent in interface AccumulatorInfoSuppliermapName - map name.cacheId - cache name.public void remove(String mapName, String cacheId)
AccumulatorInfoSupplierAccumulatorInfo from this supplier.remove in interface AccumulatorInfoSuppliermapName - map name.cacheId - cache name.public int accumulatorInfoCountOfMap(String mapName)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.