public class GridCacheLocalConcurrentMap extends GridCacheConcurrentMapImpl
GridCacheConcurrentMap.CacheMapHolder| Constructor and Description |
|---|
GridCacheLocalConcurrentMap(GridCacheContext cctx,
GridCacheMapEntryFactory factory,
int initCap) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrementPublicSize(GridCacheConcurrentMap.CacheMapHolder hld,
GridCacheEntryEx e)
Decrements public size.
|
protected GridCacheConcurrentMap.CacheMapHolder |
entriesMap(GridCacheContext cctx) |
protected GridCacheConcurrentMap.CacheMapHolder |
entriesMapIfExists(Integer cacheId) |
void |
incrementPublicSize(GridCacheConcurrentMap.CacheMapHolder hld,
GridCacheEntryEx e)
Increments public size.
|
int |
internalSize()
Returns the number of key-value mappings in this map.
|
int |
publicSize(int cacheId)
Returns the number of publicly available key-value mappings in this map.
|
entries, entrySet, getEntry, putEntryIfObsoleteOrAbsent, putEntryIfObsoleteOrAbsent, release, release, removeEntry, reservepublic GridCacheLocalConcurrentMap(GridCacheContext cctx, GridCacheMapEntryFactory factory, int initCap)
cctx - Cache context.factory - Entry factory.initCap - Initial capacity.public int internalSize()
@Nullable protected GridCacheConcurrentMap.CacheMapHolder entriesMap(GridCacheContext cctx)
entriesMap in class GridCacheConcurrentMapImplcctx - Cache context.@Nullable protected GridCacheConcurrentMap.CacheMapHolder entriesMapIfExists(Integer cacheId)
entriesMapIfExists in class GridCacheConcurrentMapImplcacheId - Cache ID.public int publicSize(int cacheId)
cacheId - Cache ID.public void incrementPublicSize(GridCacheConcurrentMap.CacheMapHolder hld, GridCacheEntryEx e)
hld - Cache map (passed as optimization to avoid cache map lookup for shared groups).e - Entry that caused public size change.public void decrementPublicSize(GridCacheConcurrentMap.CacheMapHolder hld, GridCacheEntryEx e)
hld - Cache map (passed as optimization to avoid cache map lookup for shared groups).e - Entry that caused public size change.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019