| Package | Description |
|---|---|
| org.gridgain.grid |
Contains entry-point GridGain & HPC APIs.
|
| org.gridgain.grid.cache |
Contains main Data Grid APIs.
|
| org.gridgain.grid.events |
Contains Event Subscription functionality together with various events emitted by GridGain.
|
| org.gridgain.grid.spi.eventstorage |
Contains APIs for event storage SPI.
|
| org.gridgain.grid.spi.eventstorage.memory |
Contains default in-memory implementation for event storage SPI.
|
| org.gridgain.grid.streamer.router |
Contains streamer event router implementations.
|
| org.gridgain.grid.streamer.window |
Contains streamer window implementations.
|
| Modifier and Type | Method and Description |
|---|---|
GridPredicate<GridNode> |
GridSpringBean.predicate()
Gets predicate that defines a subset of nodes for this projection.
|
GridPredicate<GridNode> |
GridProjection.predicate()
Gets predicate that defines a subset of nodes for this projection.
|
| Modifier and Type | Method and Description |
|---|---|
GridProjection |
GridSpringBean.forPredicate(GridPredicate<GridNode> p)
Creates a grid projection which includes all nodes that pass the given predicate filter.
|
GridProjection |
GridProjection.forPredicate(GridPredicate<GridNode> p)
Creates a grid projection which includes all nodes that pass the given predicate filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheProjection.forAll(GridPredicate<GridCacheEntry<K,V>> vis)
Tests whether the predicate holds for all entries.
|
boolean |
GridCacheProjection.lock(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheEntry.lock(long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Synchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
boolean |
GridCacheProjection.lockAll(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjection.lockAllAsync(Collection<? extends K> keys,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
All or nothing synchronous lock for passed in keys.
|
GridFuture<Boolean> |
GridCacheProjection.lockAsync(K key,
long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
GridFuture<Boolean> |
GridCacheEntry.lockAsync(long timeout,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously acquires lock on a cached object associated with this entry
only if the passed in filter (if any) passes.
|
GridCacheProjection<K,V> |
GridCacheProjection.projection(GridPredicate<GridCacheEntry<K,V>> filter)
Gets cache projection based on given entry filter.
|
V |
GridCacheProjection.put(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
void |
GridCacheProjection.putAll(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pairs in cache.
|
GridFuture<?> |
GridCacheProjection.putAllAsync(Map<? extends K,? extends V> m,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously stores given key-value pairs in cache.
|
GridFuture<V> |
GridCacheProjection.putAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously stores given key-value pair in cache.
|
boolean |
GridCacheProjection.putx(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
GridFuture<Boolean> |
GridCacheProjection.putxAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
V |
GridCacheEntry.remove(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.remove(Object, GridPredicate[]) method. |
V |
GridCacheProjection.remove(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mapping from cache.
|
void |
GridCacheProjection.removeAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mappings from cache for entries for which the optionally passed in filters do
pass.
|
void |
GridCacheProjection.removeAll(GridPredicate<GridCacheEntry<K,V>>... filter)
Removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
GridFuture<?> |
GridCacheProjection.removeAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mappings from cache for entries for which the optionally
passed in filters do pass.
|
GridFuture<?> |
GridCacheProjection.removeAllAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes mappings from cache for entries for which the optionally passed in filters do
pass.
|
GridFuture<V> |
GridCacheEntry.removeAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removeAsync(Object, GridPredicate[]) method. |
GridFuture<V> |
GridCacheProjection.removeAsync(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mapping from cache.
|
boolean |
GridCacheEntry.removex(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removex(Object, GridPredicate[]) method. |
boolean |
GridCacheProjection.removex(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Removes given key mapping from cache.
|
GridFuture<Boolean> |
GridCacheEntry.removexAsync(GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.removexAsync(Object, GridPredicate[]) method. |
GridFuture<Boolean> |
GridCacheProjection.removexAsync(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Asynchronously removes given key mapping from cache.
|
V |
GridCacheEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
GridFuture<V> |
GridCacheEntry.setAsync(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putAsync(Object, Object, GridPredicate[]) method. |
boolean |
GridCacheEntry.setx(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putx(Object, Object, GridPredicate[]) method. |
GridFuture<Boolean> |
GridCacheEntry.setxAsync(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putxAsync(Object, Object, GridPredicate[]) method. |
void |
GridCacheEntry.unlock(GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks this entry only if current thread owns the lock.
|
void |
GridCacheProjection.unlock(K key,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given key only if current thread owns the lock.
|
void |
GridCacheProjection.unlockAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter)
Unlocks given keys only if current thread owns the locks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEvents.localListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Adds an event listener for local events.
|
<T extends GridEvent> |
GridEvents.localQuery(GridPredicate<T> p)
Queries local node for events using passed-in predicate filter for event selection.
|
<T extends GridEvent> |
GridEvents.remoteListen(GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
GridBiPredicate<UUID,T> locLsnr,
GridPredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the projection (possibly including
local node if it belongs to the projection as well).
|
<T extends GridEvent> |
GridEvents.remoteQuery(GridPredicate<T> pe,
long timeout)
Asynchronously queries nodes in this projection for events using passed in predicate filter for event
selection.
|
boolean |
GridEvents.stopLocalListen(GridPredicate<? extends GridEvent> lsnr,
int... types)
Removes local event listener.
|
<T extends GridEvent> |
GridEvents.waitForLocal(GridPredicate<T> filter,
int... types)
Gets event future that allows for asynchronous waiting for the specified events.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridEventStorageSpi.localEvents(GridPredicate<T> p)
Queries locally-stored events only.
|
| Modifier and Type | Method and Description |
|---|---|
GridPredicate<GridEvent> |
GridMemoryEventStorageSpi.getFilter()
Gets filter for events to be recorded.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends GridEvent> |
GridMemoryEventStorageSpi.localEvents(GridPredicate<T> p)
Queries locally-stored events only.
|
void |
GridMemoryEventStorageSpi.setFilter(GridPredicate<GridEvent> filter)
Sets filter for events to be recorded.
|
| Constructor and Description |
|---|
GridStreamerRandomEventRouter(GridPredicate<GridNode>... predicates)
Constructs random event router with optional set of filters to apply to streamer projection.
|
| Constructor and Description |
|---|
GridStreamerRandomEventRouter(Collection<GridPredicate<GridNode>> predicates)
Constructs random event router with optional set of filters to apply to streamer projection.
|
| Modifier and Type | Method and Description |
|---|---|
GridPredicate<Object> |
GridStreamerWindowAdapter.getFilter()
Gets optional event filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridStreamerWindowAdapter.setFilter(GridPredicate<Object> filter)
Sets event filter.
|
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014