public interface GridCacheConcurrentMap
| Modifier and Type | Method and Description |
|---|---|
Iterable<GridCacheMapEntry> |
allEntries(CacheEntryPredicate... filter) |
void |
decrementPublicSize(GridCacheEntryEx e)
Decrements public size.
|
Iterable<GridCacheMapEntry> |
entries(CacheEntryPredicate... filter) |
Set<GridCacheMapEntry> |
entrySet(CacheEntryPredicate... filter) |
GridCacheMapEntry |
getEntry(KeyCacheObject key)
Returns the entry associated with the specified key in the
HashMap.
|
void |
incrementPublicSize(GridCacheEntryEx e)
Increments public size.
|
Set<KeyCacheObject> |
keySet(CacheEntryPredicate... filter) |
int |
publicSize()
Returns the number of publicly available key-value mappings in this map.
|
GridCacheMapEntry |
putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create,
boolean touch) |
GridCacheMapEntry |
randomEntry() |
boolean |
removeEntry(GridCacheEntryEx entry)
Removes passed in entry if it presents in the map.
|
int |
size()
Returns the number of key-value mappings in this map.
|
@Nullable GridCacheMapEntry getEntry(KeyCacheObject key)
key - Key.@Nullable GridCacheMapEntry putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer, KeyCacheObject key, @Nullable CacheObject val, boolean create, boolean touch)
topVer - Topology version.key - Key.val - Value.create - Create flag.boolean removeEntry(GridCacheEntryEx entry)
entry - Entry to remove.True if remove happened.int size()
int publicSize()
void incrementPublicSize(GridCacheEntryEx e)
e - Entry that caused public size change.void decrementPublicSize(GridCacheEntryEx e)
e - Entry that caused public size change.@Nullable GridCacheMapEntry randomEntry()
Set<KeyCacheObject> keySet(CacheEntryPredicate... filter)
Iterable<GridCacheMapEntry> entries(CacheEntryPredicate... filter)
filter - Filter.Iterable<GridCacheMapEntry> allEntries(CacheEntryPredicate... filter)
filter - Filter.Set<GridCacheMapEntry> entrySet(CacheEntryPredicate... filter)
filter - Filter.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016