| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridCacheProjection.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridCache.randomEntry()
Gets a random entry out of cache.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridCacheEntry<K,V>> |
GridCacheProjection.entrySet()
Gets set containing all cache entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheProjection.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
Set<GridCacheEntry<K,V>> |
GridCacheProjection.primaryEntrySet()
Gets set containing cache entries for which local node is the primary node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheProjection.forAll(GridPredicate<GridCacheEntry<K,V>> vis)
Tests whether the predicate holds for all entries.
|
void |
GridCacheProjection.forEach(GridInClosure<GridCacheEntry<K,V>> vis)
Executes visitor closure on each cache element.
|
GridCacheProjection<K,V> |
GridCacheProjection.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheEvictionFilter.evictAllowed(GridCacheEntry<K,V> entry)
Checks if entry may be evicted from cache.
|
void |
GridCacheEvictionPolicy.onEntryAccessed(boolean rmv,
GridCacheEntry<K,V> entry)
Callback for whenever entry is accessed.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheEntry<K,V>> |
GridCacheFifoEvictionPolicy.queue()
Gets read-only view on internal
FIFO queue in proper order. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheFifoEvictionPolicy.onEntryAccessed(boolean rmv,
GridCacheEntry<K,V> entry)
Callback for whenever entry is accessed.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheEntry<K,V>> |
GridCacheLruEvictionPolicy.queue()
Gets read-only view on internal
FIFO queue in proper order. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheLruEvictionPolicy.onEntryAccessed(boolean rmv,
GridCacheEntry<K,V> entry)
Callback for whenever entry is accessed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheRandomEvictionPolicy.onEntryAccessed(boolean rmv,
GridCacheEntry<K,V> entry)
Callback for whenever entry is accessed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridCacheEntryImpl<K,V>
Entry wrapper that never obscures obsolete entries from user.
|
class |
GridCacheEvictionEntry<K,V>
Entry wrapper that never obscures obsolete entries from user.
|
class |
GridCacheFilterEvaluationEntry<K,V>
Entry implementation for passing raw cache map entries through filters.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridCacheProjectionImpl.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridCacheAdapter.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridCacheProxyImpl.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridCacheMapEntry.evictWrap() |
GridCacheEntry<K,V> |
GridCacheEntryEx.evictWrap() |
GridCacheEntry<K,V> |
GridCacheAdapter.randomEntry()
Gets a random entry out of cache.
|
GridCacheEntry<K,V> |
GridCacheProxyImpl.randomEntry()
Gets a random entry out of cache.
|
GridCacheEntry<K,V> |
GridCacheMapEntry.wrap(boolean prjAware)
Wraps this map entry into cache entry.
|
GridCacheEntry<K,V> |
GridCacheEntryEx.wrap(boolean prjAware)
Wraps this map entry into cache entry.
|
GridCacheEntry<K,V> |
GridCacheMapEntry.wrapFilterLocked()
Wraps this map entry into cache entry for filter evaluation inside entry lock.
|
GridCacheEntry<K,V> |
GridCacheEntryEx.wrapFilterLocked()
Wraps this map entry into cache entry for filter evaluation inside entry lock.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> GridClosure<K,GridCacheEntry<K,V>> |
GridCacheUtils.cacheKey2Entry(GridCacheContext<K,V> ctx)
Gets closure which returns
GridCacheEntry given cache key. |
Set<GridCacheEntry<K,V>> |
GridCacheConcurrentMap.entries(GridPredicate<GridCacheEntry<K,V>>... filter)
|
Set<GridCacheEntry<K,V>> |
GridCacheConcurrentMap.entriesx(GridPredicate<GridCacheEntry<K,V>>... filter)
Returns entry set containing internal entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheProjectionImpl.entrySet()
Gets set containing all cache entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet()
Gets set containing all cache entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheProxyImpl.entrySet()
Gets set containing all cache entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(Collection<? extends K> keys,
GridPredicate<K> keyFilter,
GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridCacheProjectionImpl.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
Set<GridCacheEntry<K,V>> |
GridCacheProxyImpl.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
Set<GridCacheEntry<K,V>> |
GridCacheProjectionEx.entrySetx(GridPredicate<GridCacheEntry<K,V>>... filter)
Gets entry set containing internal entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheProjectionImpl.entrySetx(GridPredicate<GridCacheEntry<K,V>>... filter)
Gets entry set containing internal entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.entrySetx(GridPredicate<GridCacheEntry<K,V>>... filter)
Gets entry set containing internal entries.
|
Set<GridCacheEntry<K,V>> |
GridCacheProxyImpl.entrySetx(GridPredicate<GridCacheEntry<K,V>>... filter)
Gets entry set containing internal entries.
|
Iterator<GridCacheEntry<K,V>> |
GridCacheProjectionImpl.iterator() |
Iterator<GridCacheEntry<K,V>> |
GridCacheAdapter.iterator() |
Iterator<GridCacheEntry<K,V>> |
GridCacheProxyImpl.iterator() |
Iterator<GridCacheEntry<K,V>> |
GridCacheEntrySet.iterator() |
GridPredicate<GridCacheEntry<K,V>> |
GridCacheProjectionEx.predicate()
Gets predicate on which this projection is based on or
null
if predicate is not defined. |
GridPredicate<GridCacheEntry<K,V>> |
GridCacheProjectionImpl.predicate()
Gets predicate on which this projection is based on or
null
if predicate is not defined. |
GridPredicate<GridCacheEntry<K,V>> |
GridCacheAdapter.predicate()
Gets predicate on which this projection is based on or
null
if predicate is not defined. |
GridPredicate<GridCacheEntry<K,V>> |
GridCacheProxyImpl.predicate()
Gets predicate on which this projection is based on or
null
if predicate is not defined. |
Set<GridCacheEntry<K,V>> |
GridCacheProjectionImpl.primaryEntrySet()
Gets set containing cache entries for which local node is the primary node.
|
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.primaryEntrySet()
Gets set containing cache entries for which local node is the primary node.
|
Set<GridCacheEntry<K,V>> |
GridCacheProxyImpl.primaryEntrySet()
Gets set containing cache entries for which local node is the primary node.
|
Set<GridCacheEntry<K,V>> |
GridCacheAdapter.primaryEntrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridCacheConcurrentMap.projections(GridPredicate<GridCacheEntry<K,V>>[] filter)
Entry wrapper set casted to projections.
|
GridPredicate<GridCacheEntry<K,V>> |
GridCacheContext.truex() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheAdapter.containsAllKeys(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAllValues(Collection<? extends V> vals,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAnyKeys(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsAnyValues(Collection<? extends V> vals,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsKey(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheAdapter.containsValue(V val,
GridPredicate<GridCacheEntry<K,V>> filter) |
boolean |
GridCacheProjectionImpl.forAll(GridPredicate<GridCacheEntry<K,V>> vis)
Tests whether the predicate holds for all entries.
|
boolean |
GridCacheAdapter.forAll(GridPredicate<GridCacheEntry<K,V>> vis)
Tests whether the predicate holds for all entries.
|
boolean |
GridCacheProxyImpl.forAll(GridPredicate<GridCacheEntry<K,V>> vis)
Tests whether the predicate holds for all entries.
|
void |
GridCacheProjectionImpl.forEach(GridInClosure<GridCacheEntry<K,V>> vis)
Executes visitor closure on each cache element.
|
void |
GridCacheAdapter.forEach(GridInClosure<GridCacheEntry<K,V>> vis)
Executes visitor closure on each cache element.
|
void |
GridCacheProxyImpl.forEach(GridInClosure<GridCacheEntry<K,V>> vis)
Executes visitor closure on each cache element.
|
V |
GridCacheAdapter.get(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
Map<K,V> |
GridCacheAdapter.getAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<Map<K,V>> |
GridCacheAdapter.getAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<V> |
GridCacheAdapter.getAsync(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
V |
GridCacheAdapter.peek(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridCacheProjection<K,V> |
GridCacheProjectionImpl.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
GridCacheProjection<K,V> |
GridCacheAdapter.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
GridCacheProjection<K,V> |
GridCacheProxyImpl.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
GridFuture<?> |
GridCacheAdapter.reloadAllAsync(GridPredicate<GridCacheEntry<K,V>> filter) |
GridPredicate<GridCacheEntry<K,V>>[] |
GridCacheContext.vararg(GridPredicate<GridCacheEntry<K,V>> p) |
| Modifier and Type | Class and Description |
|---|---|
class |
GridPartitionedCacheEntryImpl<K,V>
Partitioned cache entry public API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridDhtCacheEntryImpl<K,V>
Colocated cache entry public API.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridDhtCacheAdapter.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridDhtCacheEntry.wrap(boolean prjAware)
Wraps this map entry into cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridCacheEntry<K,V>> |
GridDhtCacheAdapter.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridDhtAtomicCache.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridDhtAtomicCacheEntry.wrap(boolean prjAware)
Wraps this map entry into cache entry.
|
GridCacheEntry<K,V> |
GridDhtAtomicCacheEntry.wrapFilterLocked()
Wraps this map entry into cache entry for filter evaluation inside entry lock.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridDhtColocatedCache.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridDhtColocatedCacheEntry.wrap(boolean prjAware)
Wraps this map entry into cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridDhtColocatedCache.containsKey(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntry<K,V> |
GridNearCacheAdapter.entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntry<K,V> |
GridNearCacheEntry.wrap(boolean prjAware)
Wraps this map entry into cache entry.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridCacheEntry<K,V>> |
GridNearCacheAdapter.entrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
GridNearCacheAdapter.entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
Set<GridCacheEntry<K,V>> |
GridNearCacheAdapter.nearEntries() |
Set<GridCacheEntry<K,V>> |
GridNearCacheAdapter.primaryEntrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridNearCacheAdapter.containsKey(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
Set<K> |
GridNearCacheAdapter.nearKeySet(GridPredicate<GridCacheEntry<K,V>> filter) |
V |
GridNearCacheAdapter.peek(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
GridFuture<?> |
GridNearCacheAdapter.reloadAllAsync(GridPredicate<GridCacheEntry<K,V>> filter) |
| Modifier and Type | Method and Description |
|---|---|
V |
GridLocalAtomicCache.get(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
Map<K,V> |
GridLocalAtomicCache.getAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>> filter) |
| Modifier and Type | Method and Description |
|---|---|
GridPredicate<GridCacheEntry<Object,Object>> |
GridCacheQueryRequest.projectionFilter() |
GridPredicate<GridCacheEntry<Object,Object>> |
GridCacheQueryAdapter.projectionFilter() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheContinuousQuery<K,V> |
GridCacheContinuousQueryManager.createQuery(GridPredicate<GridCacheEntry<K,V>> prjPred) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheBackup()
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesGet(Collection<? extends Map.Entry<K,V>> entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesGet(Map.Entry<K,V>... entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesPeek(Collection<? extends Map.Entry<K,V>> entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsEntriesPeek(Map.Entry<K,V>... entries)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsGet(Collection<? extends V> vals)
Gets predicate which returns true if
get()
method returns value that is contained in given collection. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsGet(Map<K,V> map)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsGet(V... vals)
Gets predicate which returns true if
get() method returns
value that is contained among given values. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsPeek(Collection<? extends V> vals)
Gets predicate which returns true if
peek() methods returns
value that is contained in given collection. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsPeek(Map<K,V> map)
Gets predicate which returns
true if cache entry matches any given key-value pair. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheContainsPeek(V... vals)
Gets predicate which returns true if
peek() methods returns
value that is contained among given values. |
static <K,V> GridClosure<GridCacheEntry<K,V>,V> |
GridFunc.cacheEntry2Get()
Gets closure that returns value for an entry.
|
static <K,V> GridClosure<GridCacheEntry<K,V>,K> |
GridFunc.cacheEntry2Key()
Gets closure that returns key for cache entry.
|
static <K,V> GridClosure<GridCacheEntry<K,V>,V> |
GridFunc.cacheEntry2Peek()
Gets closure that returns result of
peek() method. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheExpireAfter(long msec)
Gets predicate which returns
true if entry expires on or after given time
in milliseconds. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheExpireBefore(long msec)
Gets predicate which returns
true if entry expires on or before given time
in milliseconds. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheHasGetValue()
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheHasKeys(Collection<? extends K> keys)
Gets predicate which returns
true if entry's key is contained in given collection. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheHasKeys(K... keys)
Gets predicate which returns
true if entry's key is equal to any of provided keys. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheHasPeekValue()
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheKeys(GridPredicate<? super K>... ps)
Converts key filter to entry filter using
Map.Entry.getKey()
to get value. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheNoGetValue()
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheNoPeekValue()
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cachePrimary()
|
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheValuesGet(GridPredicate<? super V>... ps)
Converts value filter to entry filter using
get() to get value. |
static <K,V> GridPredicate<GridCacheEntry<K,V>> |
GridFunc.cacheValuesPeek(GridPredicate<? super V>... ps)
Converts value filter to entry filter using
peek()
to get value. |
Copyright © 2014. All rights reserved.