| Package | Description |
|---|---|
| org.gridgain.grid |
Contains entry-point GridGain & HPC APIs.
|
| org.gridgain.grid.cache |
Contains main Data Grid APIs.
|
| org.gridgain.grid.cache.query |
Contains APIs for creating and executing cache queries.
|
| org.gridgain.grid.compute |
Contains Compute Grid functionality.
|
| org.gridgain.grid.dataload |
Contains Data loader API.
|
| org.gridgain.grid.dr |
Data center replication-related interfaces and classes for sender and receiver caches and hubs. |
| org.gridgain.grid.events |
Contains Event Subscription functionality together with various events emitted by GridGain.
|
| org.gridgain.grid.ggfs |
Contains GridGain File System APIs.
|
| org.gridgain.grid.messaging |
Contains Topic-based Messaging functionality.
|
| org.gridgain.grid.scheduler |
Contains Job Scheduling functionality.
|
| Modifier and Type | Method and Description |
|---|---|
<T> GridFuture<T> |
GridFuture.chain(GridClosure<? super GridFuture<R>,T> doneCb)
Make a chained future to convert result of this future (when complete) into a new format.
|
GridFuture<Collection<org.gridgain.grid.util.lang.GridTuple3<String,Boolean,String>>> |
Grid.startNodes(Collection<Map<String,Object>> hosts,
Map<String,Object> dflts,
boolean restart,
int timeout,
int maxConn)
Starts one or more nodes on remote host(s).
|
GridFuture<Collection<org.gridgain.grid.util.lang.GridTuple3<String,Boolean,String>>> |
GridSpringBean.startNodes(Collection<Map<String,Object>> hosts,
Map<String,Object> dflts,
boolean restart,
int timeout,
int maxConn)
Starts one or more nodes on remote host(s).
|
GridFuture<Collection<org.gridgain.grid.util.lang.GridTuple3<String,Boolean,String>>> |
Grid.startNodes(File file,
boolean restart,
int timeout,
int maxConn)
Starts one or more nodes on remote host(s).
|
GridFuture<Collection<org.gridgain.grid.util.lang.GridTuple3<String,Boolean,String>>> |
GridSpringBean.startNodes(File file,
boolean restart,
int timeout,
int maxConn)
Starts one or more nodes on remote host(s).
|
| Modifier and Type | Method and Description |
|---|---|
<T> GridFuture<T> |
GridFuture.chain(GridClosure<? super GridFuture<R>,T> doneCb)
Make a chained future to convert result of this future (when complete) into a new format.
|
void |
GridFuture.listenAsync(GridInClosure<? super GridFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<GridCacheTx> |
GridCacheTx.commitAsync()
Asynchronously commits this transaction by initiating
two-phase-commit process. |
GridFuture<?> |
GridCache.forceRepartition()
Forces this cache node to re-balance its partitions.
|
GridFuture<Map<K,V>> |
GridCacheProjection.getAllAsync(Collection<? extends K> keys)
Asynchronously retrieves values mapped to the specified keys from cache.
|
GridFuture<V> |
GridCacheEntry.getAsync()
This method has the same semantic as
GridCacheProjection.getAsync(Object) method. |
GridFuture<V> |
GridCacheProjection.getAsync(K key)
Asynchronously retrieves value mapped to the specified key from cache.
|
GridFuture<?> |
GridCache.loadCacheAsync(GridBiPredicate<K,V> p,
long ttl,
Object... args)
Asynchronously delegates to
GridCacheStore.loadCache(GridBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
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.
|
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.
|
GridFuture<V> |
GridCacheProjection.putIfAbsentAsync(K key,
V val)
Asynchronously stores given key-value pair in cache only if cache had no previous mapping for it.
|
GridFuture<Boolean> |
GridCacheProjection.putxAsync(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
GridFuture<Boolean> |
GridCacheProjection.putxIfAbsentAsync(K key,
V val)
Asynchronously stores given key-value pair in cache only if cache had no previous mapping for it.
|
GridFuture<?> |
GridCacheProjection.reloadAllAsync()
Asynchronously reloads all specified entries from underlying
persistent storage.
|
GridFuture<?> |
GridCacheProjection.reloadAllAsync(Collection<? extends K> keys)
Asynchronously reloads all specified entries from underlying
persistent storage.
|
GridFuture<V> |
GridCacheEntry.reloadAsync()
This method has the same semantic as
GridCacheProjection.reloadAsync(Object) method. |
GridFuture<V> |
GridCacheProjection.reloadAsync(K key)
Asynchronously reloads a single key from persistent storage.
|
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.
|
GridFuture<Boolean> |
GridCacheProjection.removeAsync(K key,
V val)
Asynchronously removes given key mapping from cache if one exists and value is equal to the passed in value.
|
GridFuture<Boolean> |
GridCacheEntry.removeAsync(V val)
This method has the same semantic as
GridCacheProjection.removeAsync(Object, Object) method. |
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.
|
GridFuture<V> |
GridCacheProjection.replaceAsync(K key,
V val)
Asynchronously stores given key-value pair in cache only if if there is a previous mapping for it.
|
GridFuture<Boolean> |
GridCacheProjection.replaceAsync(K key,
V oldVal,
V newVal)
Asynchronously stores given key-value pair in cache only if only if the previous value is equal to the
'oldVal' passed in. |
GridFuture<V> |
GridCacheEntry.replaceAsync(V val)
This method has the same semantic as
GridCacheProjection.replaceAsync(Object, Object) method. |
GridFuture<Boolean> |
GridCacheEntry.replaceAsync(V oldVal,
V newVal)
This method has the same semantic as
GridCacheProjection.replaceAsync(Object, Object, Object) method. |
GridFuture<Boolean> |
GridCacheProjection.replacexAsync(K key,
V val)
Asynchronously stores given key-value pair in cache only if only if there is a previous mapping for it.
|
GridFuture<Boolean> |
GridCacheEntry.replacexAsync(V val)
This method has the same semantic as
GridCacheProjection.replacexAsync(Object, Object) 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. |
GridFuture<V> |
GridCacheEntry.setIfAbsentAsync(V val)
This method has the same semantic as
GridCacheProjection.putIfAbsentAsync(Object, Object) 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. |
GridFuture<Boolean> |
GridCacheEntry.setxIfAbsentAsync(V val)
This method has the same semantic as
GridCacheProjection.putxIfAbsentAsync(Object, Object) method. |
GridFuture<?> |
GridCacheProjection.transformAllAsync(Map<? extends K,? extends GridClosure<V,V>> m)
Stores result of applying transform closures from the given map to previous values associated
with corresponding keys in cache.
|
GridFuture<?> |
GridCacheProjection.transformAllAsync(Set<? extends K> keys,
GridClosure<V,V> transformer)
Stores result of applying the specified transform closure to previous values associated
with the specified keys in cache.
|
GridFuture<?> |
GridCacheEntry.transformAsync(GridClosure<V,V> transformer)
This method has the same semantic as
GridCacheProjection.transformAsync(Object, GridClosure) method. |
GridFuture<?> |
GridCacheProjection.transformAsync(K key,
GridClosure<V,V> transformer)
Stores result of applying
transformer closure to the previous value associated with
given key in cache. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GridCacheQueryFuture<T>
Cache query future returned by query execution.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<?> |
GridCacheQueries.rebuildAllIndexes()
Forces this cache to rebuild search indexes of all types.
|
GridFuture<?> |
GridCacheQueries.rebuildIndexes(Class<?> cls)
Forces this cache to rebuild all search indexes of given value type.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GridComputeTaskFuture<R>
This class defines a handler for asynchronous task execution.
|
| Modifier and Type | Method and Description |
|---|---|
<R> GridFuture<R> |
GridCompute.affinityCall(String cacheName,
Object affKey,
Callable<R> job)
Executes given job on the node where data for provided affinity key is located
(a.k.a. affinity co-location).
|
GridFuture<?> |
GridCompute.affinityRun(String cacheName,
Object affKey,
Runnable job)
Executes given job on the node where data for provided affinity key is located
(a.k.a. affinity co-location).
|
<T,R> GridFuture<Collection<R>> |
GridCompute.apply(GridClosure<T,R> job,
Collection<? extends T> args)
Executes provided closure job on nodes within this grid projection.
|
<R,T> GridFuture<R> |
GridCompute.apply(GridClosure<T,R> job,
T arg)
Executes provided closure job on a node in this grid projection.
|
<R1,R2,T> GridFuture<R2> |
GridCompute.apply(GridClosure<T,R1> job,
Collection<? extends T> args,
GridReducer<R1,R2> rdc)
Executes provided closure job on nodes within this grid projection.
|
<R> GridFuture<Collection<R>> |
GridCompute.broadcast(Callable<R> job)
Broadcasts given job to all nodes in grid projection.
|
<R,T> GridFuture<Collection<R>> |
GridCompute.broadcast(GridClosure<T,R> job,
T arg)
Broadcasts given closure job with passed in argument to all nodes in grid projection.
|
GridFuture<?> |
GridCompute.broadcast(Runnable job)
Broadcasts given job to all nodes in grid projection.
|
<R> GridFuture<R> |
GridCompute.call(Callable<R> job)
Executes provided job on a node in this grid projection.
|
<R> GridFuture<Collection<R>> |
GridCompute.call(Collection<? extends Callable<R>> jobs)
Executes collection of jobs on nodes within this grid projection.
|
<R1,R2> GridFuture<R2> |
GridCompute.call(Collection<? extends Callable<R1>> jobs,
GridReducer<R1,R2> rdc)
Executes collection of jobs on nodes within this grid projection.
|
GridFuture<?> |
GridCompute.run(Collection<? extends Runnable> jobs)
Executes collection of jobs on grid nodes within this grid projection.
|
GridFuture<?> |
GridCompute.run(Runnable job)
Executes provided job on a node in this grid projection.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<?> |
GridDataLoader.addData(Collection<? extends Map.Entry<K,V>> entries)
Adds data for loading on remote node.
|
GridFuture<?> |
GridDataLoader.addData(K key,
V val)
Adds data for loading on remote node.
|
GridFuture<?> |
GridDataLoader.addData(Map.Entry<K,V> entry)
Adds data for loading on remote node.
|
GridFuture<?> |
GridDataLoader.addData(Map<K,V> entries)
Adds data for loading on remote node.
|
GridFuture<?> |
GridDataLoader.future()
Gets future for this loading process.
|
GridFuture<?> |
GridDataLoader.removeData(K key)
Adds key for removal on remote node.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<?> |
GridDr.senderCacheDrStateTransfer(String cacheName,
byte... dataCenterId)
Starts full state transfer for the given sender cache.
|
| Modifier and Type | Method and Description |
|---|---|
<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.
|
GridFuture<?> |
GridEvents.stopRemoteListen(UUID opId)
Stops listening to remote events.
|
<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,R> GridFuture<R> |
GridGgfs.execute(Class<? extends GridGgfsTask<T,R>> taskCls,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes GGFS task asynchronously with overridden maximum range length (see
GridGgfsConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> GridFuture<R> |
GridGgfs.execute(Class<? extends GridGgfsTask<T,R>> taskCls,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
T arg)
Executes GGFS task asynchronously.
|
<T,R> GridFuture<R> |
GridGgfs.execute(GridGgfsTask<T,R> task,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
boolean skipNonExistentFiles,
long maxRangeLen,
T arg)
Executes GGFS task asynchronously with overridden maximum range length (see
GridGgfsConfiguration.getMaximumTaskRangeLength() for more information). |
<T,R> GridFuture<R> |
GridGgfs.execute(GridGgfsTask<T,R> task,
GridGgfsRecordResolver rslvr,
Collection<GridGgfsPath> paths,
T arg)
Executes GGFS task asynchronously.
|
GridFuture<?> |
GridGgfs.format()
Formats the file system removing all existing entries from it.
|
| Modifier and Type | Method and Description |
|---|---|
GridFuture<UUID> |
GridMessaging.remoteListen(Object topic,
GridBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the projection (possibly including
this node if it belongs to the projection as well).
|
GridFuture<?> |
GridMessaging.stopRemoteListen(UUID opId)
Unregisters all listeners identified with provided operation ID on all nodes in this projection.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GridSchedulerFuture<R>
Future for cron-based scheduled execution.
|
| Modifier and Type | Method and Description |
|---|---|
<R> GridFuture<R> |
GridScheduler.callLocal(Callable<R> c)
Executes given callable on internal system thread pool asynchronously.
|
GridFuture<?> |
GridScheduler.runLocal(Runnable r)
Executes given closure on internal system thread pool asynchronously.
|
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