| Package | Description |
|---|---|
| org.gridgain.grid |
Contains entry-point GridGain & HPC APIs.
|
| org.gridgain.grid.cache |
Contains main Data Grid APIs.
|
| org.gridgain.grid.cache.cloner |
Contains cache cloner implementations.
|
| org.gridgain.grid.cache.datastructures |
Contains distributed data structures that work on top of in-memory data grid.
|
| org.gridgain.grid.cache.eviction.ggfs |
Contains GGFS LRU eviction policy implementations.
|
| org.gridgain.grid.cache.jta |
Contains JTA (Java Transaction API) related public classes and interfaces.
|
| org.gridgain.grid.cache.jta.jndi |
Contains JNDI-based transaction manager lookup.
|
| org.gridgain.grid.cache.jta.reflect |
Contains reflection-based transaction manager lookup.
|
| org.gridgain.grid.cache.query |
Contains APIs for creating and executing cache queries.
|
| org.gridgain.grid.cache.store |
Contains cache store interfaces.
|
| org.gridgain.grid.cache.store.hibernate |
Contains reference Hibernate-based cache store implementation.
|
| org.gridgain.grid.cache.store.jdbc |
Contains reference JDBC-based cache store implementation.
|
| org.gridgain.grid.cache.store.local |
Contains local file based cache store implementation.
|
| org.gridgain.grid.compute |
Contains Compute Grid functionality.
|
| org.gridgain.grid.compute.gridify |
Contains APIs utilized for AOP-based grid-enabling.
|
| 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.dr.hub.sender.store |
Contains API for sender hub store. |
| org.gridgain.grid.dr.hub.sender.store.fs |
Contains implementation of sender hub store storing data in file system . |
| org.gridgain.grid.dr.hub.sender.store.memory |
Contains in-memory implementation of sender hub store. |
| org.gridgain.grid.ggfs |
Contains GridGain File System APIs.
|
| org.gridgain.grid.ggfs.mapreduce |
Contains APIs for In-Memory MapReduce over GGFS.
|
| org.gridgain.grid.ggfs.mapreduce.records |
Contains record resolvers for In-Memory MapReduce over GGFS.
|
| org.gridgain.grid.logger.log4j |
Contains default Log4j implementation for logging.
|
| org.gridgain.grid.marshaller |
Contains various supported marshallers.
|
| org.gridgain.grid.marshaller.jdk |
Contains JDK java.io based marshaller.
|
| org.gridgain.grid.marshaller.optimized |
Contains default Optimized marshaller.
|
| org.gridgain.grid.messaging |
Contains Topic-based Messaging functionality.
|
| org.gridgain.grid.product |
Contains Product and License related functionality.
|
| org.gridgain.grid.scheduler |
Contains Job Scheduling functionality.
|
| org.gridgain.grid.segmentation |
Contains segmentation "split-brain" related classes.
|
| org.gridgain.grid.segmentation.reachability |
Contains segmentation resolver based on
InetAddress.isReachable(). |
| org.gridgain.grid.segmentation.sharedfs |
Contains shared file system segmentation resolver implementation.
|
| org.gridgain.grid.segmentation.tcp |
Contains TCP segmentation resolver implementation.
|
| org.gridgain.grid.spi |
Contains common classes and interfaces for SPI implementations.
|
| org.gridgain.grid.spi.communication.tcp |
Contains default TCP/IP-based implementation for communication SPI.
|
| org.gridgain.grid.spi.failover |
Contains APIs for failover SPI.
|
| org.gridgain.grid.spi.loadbalancing |
Contains APIs for load balancing SPI.
|
| org.gridgain.grid.spi.loadbalancing.adaptive |
Contains adaptive load balancing SPI.
|
| org.gridgain.grid.spi.loadbalancing.roundrobin |
Contains default round-robin implementation for load balancing SPI.
|
| org.gridgain.grid.streamer |
Contains main Streaming APIs.
|
| org.gridgain.grid.streamer.index |
Contains APIs for indexing of streamer windows.
|
| org.gridgain.grid.streamer.index.hash |
Contains hash-based streamer index implementation.
|
| org.gridgain.grid.streamer.index.tree |
Contains tree-based streamer index implementation.
|
| org.gridgain.grid.streamer.window |
Contains streamer window implementations.
|
| org.gridgain.grid.thread |
Contains threads-related utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridDeploymentException
Deployment or re-deployment failed.
|
class |
GridEmptyProjectionException
This exception defines illegal call on empty projection.
|
class |
GridFutureCancelledException
Future computation cannot be retrieved because it was cancelled.
|
class |
GridFutureTimeoutException
Future computation completion is timed out.
|
class |
GridInterruptedException
This exception is used to wrap standard
InterruptedException into GridException. |
class |
GridMultiException
Grid exception which may contain more than one failure.
|
class |
GridTopologyException
This exception is used to indicate error with grid topology (e.g., crashed node, etc.).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridFuture.cancel()
Cancels this future.
|
void |
Grid.close()
Closes
this instance of grid. |
void |
GridSpringBean.close()
Closes
this instance of grid. |
R |
GridFuture.get()
Synchronously waits for completion of the computation and
returns computation result.
|
R |
GridFuture.get(long timeout)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
R |
GridFuture.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
static GridBiTuple<GridConfiguration,org.springframework.context.ApplicationContext> |
GridGain.loadConfiguration(String springCfgPath)
Loads first found grid configuration specified within given Spring XML configuration file.
|
static GridBiTuple<GridConfiguration,org.springframework.context.ApplicationContext> |
GridGain.loadConfiguration(URL springCfgUrl)
Loads first found grid configuration specified within given Spring XML configuration file.
|
static GridBiTuple<Collection<GridConfiguration>,? extends org.springframework.context.ApplicationContext> |
GridGain.loadConfigurations(String springCfgPath)
Loads all grid configurations specified within given Spring XML configuration file.
|
static GridBiTuple<Collection<GridConfiguration>,? extends org.springframework.context.ApplicationContext> |
GridGain.loadConfigurations(URL springCfgUrl)
Loads all grid configurations specified within given Spring XML configuration file.
|
<K> Map<GridNode,Collection<K>> |
Grid.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> Map<GridNode,Collection<K>> |
GridSpringBean.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> GridNode |
Grid.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> GridNode |
GridSpringBean.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
GridProjectionMetrics |
GridSpringBean.metrics()
Gets a metrics snapshot for this projection.
|
GridProjectionMetrics |
GridProjection.metrics()
Gets a metrics snapshot for this projection.
|
void |
GridLifecycleBean.onLifecycleEvent(GridLifecycleEventType evt)
This method is called when lifecycle event occurs.
|
void |
Grid.restartNodes()
Restarts nodes satisfying optional set of predicates.
|
void |
GridSpringBean.restartNodes()
Restarts nodes satisfying optional set of predicates.
|
void |
Grid.restartNodes(Collection<UUID> ids)
Restarts nodes defined by provided IDs.
|
void |
GridSpringBean.restartNodes(Collection<UUID> ids)
Restarts nodes defined by provided IDs.
|
static Grid |
GridGain.start()
Starts grid with default configuration.
|
void |
GridLifecycleAware.start()
Starts grid component, called on grid start.
|
static Grid |
GridGain.start(org.springframework.context.ApplicationContext springCtx)
Starts grid with default configuration.
|
static Grid |
GridGain.start(GridConfiguration cfg)
Starts grid with given configuration.
|
static Grid |
GridGain.start(GridConfiguration cfg,
org.springframework.context.ApplicationContext springCtx)
Starts grid with given configuration.
|
static Grid |
GridGain.start(String springCfgPath)
Starts all grids specified within given Spring XML configuration file.
|
static Grid |
GridGain.start(String springCfgPath,
org.springframework.context.ApplicationContext springCtx)
Starts all grids specified within given Spring XML configuration file.
|
static Grid |
GridGain.start(URL springCfgUrl)
Starts all grids specified within given Spring XML configuration file URL.
|
static Grid |
GridGain.start(URL springCfgUrl,
org.springframework.context.ApplicationContext springCtx)
Starts all grids specified within given Spring XML configuration file URL.
|
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).
|
void |
GridLifecycleAware.stop()
Stops grid component, called on grid shutdown.
|
void |
Grid.stopNodes()
Stops nodes satisfying optional set of predicates.
|
void |
GridSpringBean.stopNodes()
Stops nodes satisfying optional set of predicates.
|
void |
Grid.stopNodes(Collection<UUID> ids)
Stops nodes defined by provided IDs.
|
void |
GridSpringBean.stopNodes(Collection<UUID> ids)
Stops nodes defined by provided IDs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridCachePartialUpdateException
Exception thrown from non-transactional cache in case when update succeeded only partially.
|
class |
GridCacheTxHeuristicException
Exception thrown whenever grid transaction enters an unknown state.
|
class |
GridCacheTxOptimisticException
Exception thrown whenever grid transactions fail optimistically.
|
class |
GridCacheTxRollbackException
Exception thrown whenever grid transactions has been automatically rolled back.
|
class |
GridCacheTxTimeoutException
Exception thrown whenever grid transactions time out.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheTx.close()
Ends the transaction.
|
void |
GridCacheTx.commit()
Commits this transaction by initiating
two-phase-commit process. |
boolean |
GridCacheEntry.compact()
Optimizes the size of this entry.
|
boolean |
GridCacheProjection.compact(K key)
Clears serialized value bytes from entry (if any) leaving only object representation.
|
void |
GridCacheProjection.compactAll()
Clears serialized value bytes from cache entries (if any) leaving only object representation.
|
V |
GridCacheEntry.get()
This method has the same semantic as
GridCacheProjection.get(Object) method. |
V |
GridCacheProjection.get(K key)
Retrieves value mapped to the specified key from cache.
|
Map<K,V> |
GridCacheProjection.getAll(Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
void |
GridCacheProjection.globalClearAll()
Clears cache on all nodes that store it's data.
|
void |
GridCache.loadCache(GridBiPredicate<K,V> p,
long ttl,
Object... args)
Delegates to
GridCacheStore.loadCache(GridBiInClosure,Object...) method
to load state from the underlying persistent storage. |
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.
|
int |
GridCacheEntry.memorySize()
Gets size of serialized key and value in addition to any overhead added by
GridGain itself. |
Iterator<Map.Entry<K,V>> |
GridCache.offHeapIterator()
Gets iterator over keys and values belonging to this cache off-heap memory on local node.
|
long |
GridCache.overflowSize()
Gets size (in bytes) of all entries swapped to disk.
|
V |
GridCacheEntry.peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
V |
GridCacheProjection.peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
GridCacheProjection.promote(K key)
This method promotes cache entry from offheap by given key, if any, from offheap or swap storage
into memory.
|
void |
GridCacheProjection.promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
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.
|
V |
GridCacheProjection.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
boolean |
GridCacheProjection.putx(K key,
V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
Stores given key-value pair in cache.
|
boolean |
GridCacheProjection.putxIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
GridCacheEntry.reload()
This method has the same semantic as
GridCacheProjection.reload(Object) method. |
V |
GridCacheProjection.reload(K key)
Reloads a single key from persistent storage.
|
void |
GridCacheProjection.reloadAll()
Reloads all currently cached keys form persistent storage.
|
void |
GridCacheProjection.reloadAll(Collection<? extends K> keys)
Reloads specified entries from underlying persistent storage.
|
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.
|
boolean |
GridCacheProjection.remove(K key,
V val)
Removes given key mapping from cache if one exists and value is equal to the passed in value.
|
boolean |
GridCacheEntry.remove(V val)
This method has the same semantic as
GridCacheProjection.remove(Object, Object) method. |
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.
|
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.
|
V |
GridCacheProjection.replace(K key,
V val)
Stores given key-value pair in cache only if if there is a previous mapping for it.
|
boolean |
GridCacheProjection.replace(K key,
V oldVal,
V newVal)
Stores given key-value pair in cache only if only if the previous value is equal to the
'oldVal' passed in. |
V |
GridCacheEntry.replace(V val)
This method has the same semantic as
GridCacheProjection.replace(Object, Object) method. |
boolean |
GridCacheEntry.replace(V oldVal,
V newVal)
This method has the same semantic as
GridCacheProjection.replace(Object, Object, Object) method. |
boolean |
GridCacheProjection.replacex(K key,
V val)
Stores given key-value pair in cache only if only if there is a previous mapping for it.
|
boolean |
GridCacheEntry.replacex(V val)
This method has the same semantic as
GridCacheProjection.replacex(Object, Object) method. |
void |
GridCacheTx.rollback()
Rolls back this transaction.
|
V |
GridCacheEntry.set(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.put(Object, Object, GridPredicate[]) method. |
V |
GridCacheEntry.setIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putIfAbsent(Object, Object) method. |
boolean |
GridCacheEntry.setx(V val,
GridPredicate<GridCacheEntry<K,V>>... filter)
This method has the same semantic as
GridCacheProjection.putx(Object, Object, GridPredicate[]) method. |
boolean |
GridCacheEntry.setxIfAbsent(V val)
This method has the same semantic as
GridCacheProjection.putxIfAbsent(Object, Object) method. |
Iterator<Map.Entry<K,V>> |
GridCache.swapIterator()
Gets iterator over keys and values belonging to this cache swap space on local node.
|
long |
GridCache.swapKeys()
Gets number of swap entries (keys).
|
long |
GridCache.swapSize()
Gets size in bytes for swap space.
|
void |
GridCacheEntry.transform(GridClosure<V,V> transformer)
This method has the same semantic as
GridCacheProjection.transform(Object, GridClosure) method. |
void |
GridCacheProjection.transform(K key,
GridClosure<V,V> transformer)
Stores result of applying
valTransform closure to the previous value associated with
given key in cache. |
void |
GridCacheProjection.transformAll(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.
|
void |
GridCacheProjection.transformAll(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<?> |
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.
|
GridCacheTx |
GridCacheProjection.txStartAffinity(Object affinityKey,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
int txSize)
Starts
affinity-group-locked transaction based on affinity key. |
GridCacheTx |
GridCacheProjection.txStartPartition(int partId,
GridCacheTxConcurrency concurrency,
GridCacheTxIsolation isolation,
long timeout,
int txSize)
Starts
partition-group-locked transaction based on partition ID. |
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 |
|---|---|
<T> T |
GridCacheDeepCloner.cloneValue(T val) |
<T> T |
GridCacheBasicCloner.cloneValue(T val) |
<T> T |
GridCacheCloner.cloneValue(T val) |
| Modifier and Type | Class and Description |
|---|---|
class |
GridCacheDataStructureInvalidException
This checked exception gets thrown if attempt to access an invalid data structure has been made.
|
class |
GridCacheDataStructureRemovedException
This checked exception gets thrown if attempt to access a removed data structure has been made.
|
| Modifier and Type | Method and Description |
|---|---|
long |
GridCacheAtomicSequence.addAndGet(long l)
Adds
l elements to atomic sequence and gets value of atomic sequence. |
long |
GridCacheAtomicLong.addAndGet(long l)
Adds
l and gets current value of atomic long. |
GridCacheAtomicLong |
GridCacheDataStructures.atomicLong(String name,
long initVal,
boolean create)
Will get a atomic long from cache and create one if it has not been created yet and
create flag
is true. |
<T> GridCacheAtomicReference<T> |
GridCacheDataStructures.atomicReference(String name,
T initVal,
boolean create)
Will get a atomic reference from cache and create one if it has not been created yet and
create flag
is true. |
GridCacheAtomicSequence |
GridCacheDataStructures.atomicSequence(String name,
long initVal,
boolean create)
Will get an atomic sequence from cache and create one if it has not been created yet and
create flag
is true. |
<T,S> GridCacheAtomicStamped<T,S> |
GridCacheDataStructures.atomicStamped(String name,
T initVal,
S initStamp,
boolean create)
Will get a atomic stamped from cache and create one if it has not been created yet and
create flag
is true. |
void |
GridCacheCountDownLatch.await()
Causes the current thread to wait until the latch has counted down to
zero, unless current thread is interrupted.
|
boolean |
GridCacheCountDownLatch.await(long timeout)
Causes the current thread to wait until the latch has counted down to
zero, unless the thread is interrupted, or the specified waiting time elapses.
|
boolean |
GridCacheCountDownLatch.await(long timeout,
TimeUnit unit)
Causes the current thread to wait until the latch has counted down to
zero, unless the thread is interrupted, or the specified waiting time elapses.
|
boolean |
GridCacheQueue.bounded()
Returns
true if this queue is bounded. |
int |
GridCacheQueue.capacity()
Gets maximum number of elements of the queue.
|
boolean |
GridCacheQueue.collocated()
Returns
true if this queue can be kept on the one node only. |
boolean |
GridCacheAtomicLong.compareAndSet(long expVal,
long newVal)
Atomically compares current value to the expected value, and if they are equal, sets current value
to new value.
|
boolean |
GridCacheAtomicReference.compareAndSet(T expVal,
T newVal)
Conditionally sets the new value.
|
boolean |
GridCacheAtomicStamped.compareAndSet(T expVal,
T newVal,
S expStamp,
S newStamp)
Conditionally sets the new value and new stamp.
|
int |
GridCacheCountDownLatch.countDown()
Decrements the count of the latch, releasing all waiting threads
on all nodes if the count reaches zero.
|
int |
GridCacheCountDownLatch.countDown(int val)
Decreases the count of the latch using passed in value,
releasing all waiting threads on all nodes if the count reaches zero.
|
void |
GridCacheCountDownLatch.countDownAll()
Counts down this latch to zero, releasing all waiting threads on all nodes.
|
GridCacheCountDownLatch |
GridCacheDataStructures.countDownLatch(String name,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
long |
GridCacheAtomicLong.decrementAndGet()
Decrements and gets current value of atomic long.
|
long |
GridCacheAtomicSequence.get()
Gets current value of atomic sequence.
|
long |
GridCacheAtomicLong.get()
Gets current value of atomic long.
|
GridBiTuple<T,S> |
GridCacheAtomicStamped.get()
Gets both current value and current stamp of atomic stamped.
|
T |
GridCacheAtomicReference.get()
Gets current value of an atomic reference.
|
long |
GridCacheAtomicSequence.getAndAdd(long l)
Gets current value of atomic sequence and adds
l elements. |
long |
GridCacheAtomicLong.getAndAdd(long l)
Gets current value of atomic long and adds
l. |
long |
GridCacheAtomicLong.getAndDecrement()
Gets and decrements current value of atomic long.
|
long |
GridCacheAtomicSequence.getAndIncrement()
Gets and increments current value of atomic sequence.
|
long |
GridCacheAtomicLong.getAndIncrement()
Gets and increments current value of atomic long.
|
long |
GridCacheAtomicLong.getAndSet(long l)
Gets current value of atomic long and sets new value
l of atomic long. |
long |
GridCacheAtomicSequence.incrementAndGet()
Increments and returns the value of atomic sequence.
|
long |
GridCacheAtomicLong.incrementAndGet()
Increments and gets current value of atomic long.
|
<T> GridCacheQueue<T> |
GridCacheDataStructures.queue(String name,
int cap,
boolean collocated,
boolean create)
Will get a named queue from cache and create one if it has not been created yet and
create flag
is true. |
boolean |
GridCacheDataStructures.removeAtomicLong(String name)
Remove atomic long from cache.
|
boolean |
GridCacheDataStructures.removeAtomicReference(String name)
Remove atomic reference from cache.
|
boolean |
GridCacheDataStructures.removeAtomicSequence(String name)
Remove sequence from cache.
|
boolean |
GridCacheDataStructures.removeAtomicStamped(String name)
Remove atomic stamped from cache.
|
boolean |
GridCacheDataStructures.removeCountDownLatch(String name)
Removes count down latch from cache.
|
boolean |
GridCacheDataStructures.removeQueue(String name)
Remove queue from cache.
|
boolean |
GridCacheDataStructures.removeQueue(String name,
int batchSize)
Remove queue from cache.
|
void |
GridCacheAtomicReference.set(T val)
Unconditionally sets the value.
|
void |
GridCacheAtomicStamped.set(T val,
S stamp)
Unconditionally sets the value and the stamp.
|
S |
GridCacheAtomicStamped.stamp()
Gets current stamp.
|
T |
GridCacheAtomicStamped.value()
Gets current value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheGgfsPerBlockLruEvictionPolicy.exclude(GridGgfsPath path)
Check whether provided path must be excluded from evictions.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionManager |
GridCacheTmLookup.getTm()
Gets Transaction Manager (TM).
|
| Modifier and Type | Method and Description |
|---|---|
TransactionManager |
GridCacheJndiTmLookup.getTm()
Gets Transaction Manager (TM).
|
| Modifier and Type | Method and Description |
|---|---|
TransactionManager |
GridCacheReflectionTmLookup.getTm()
Gets Transaction Manager (TM).
|
| Modifier and Type | Method and Description |
|---|---|
int |
GridCacheQueryFuture.available()
Returns number of elements that are already fetched and can
be returned from
GridCacheQueryFuture.next() method without blocking. |
boolean |
GridCacheQueryFuture.cancel()
Cancels this query future and stop receiving any further results for the query
associated with this future.
|
void |
GridCacheContinuousQuery.close()
Stops continuous query execution.
|
void |
GridCacheContinuousQuery.execute()
Starts continuous query execution on the whole grid.
|
void |
GridCacheContinuousQuery.execute(GridProjection prj)
Starts continuous query execution on provided set of nodes.
|
T |
GridCacheQueryFuture.next()
Returns next element from result set.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Iterator<I> |
GridCacheLoadOnlyStoreAdapter.inputIterator(Object... args)
Returns iterator of input records.
|
V |
GridCacheLoadOnlyStoreAdapter.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
V |
GridCacheStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheStore.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheStoreAdapter.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,V> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheLoadOnlyStoreAdapter.loadCache(GridBiInClosure<K,V> c,
Object... args)
Loads all values from underlying persistent storage.
|
void |
GridCacheStore.loadCache(GridBiInClosure<K,V> clo,
Object... args)
Loads all values from underlying persistent storage.
|
void |
GridCacheStoreAdapter.loadCache(GridBiInClosure<K,V> clo,
Object... args)
Default empty implementation.
|
void |
GridCacheLoadOnlyStoreAdapter.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheStore.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheStore.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheStoreAdapter.putAll(GridCacheTx tx,
Map<? extends K,? extends V> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
void |
GridCacheStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheStore.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheStoreAdapter.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheLoadOnlyStoreAdapter.txEnd(GridCacheTx tx,
boolean commit)
Tells store to commit or rollback a transaction depending on the value of the
'commit'
parameter. |
void |
GridCacheStore.txEnd(GridCacheTx tx,
boolean commit)
Tells store to commit or rollback a transaction depending on the value of the
'commit'
parameter. |
void |
GridCacheStoreAdapter.txEnd(GridCacheTx tx,
boolean commit)
Default empty implementation for ending transactions.
|
| Modifier and Type | Method and Description |
|---|---|
protected <X> X |
GridCacheHibernateBlobStore.fromBytes(byte[] bytes)
Deserialize object from byte array using marshaller.
|
V |
GridCacheHibernateBlobStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheHibernateBlobStore.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheHibernateBlobStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
protected byte[] |
GridCacheHibernateBlobStore.toBytes(Object obj)
Serialize object to byte array using marshaller.
|
void |
GridCacheHibernateBlobStore.txEnd(GridCacheTx tx,
boolean commit)
Default empty implementation for ending transactions.
|
| Modifier and Type | Method and Description |
|---|---|
protected <X> X |
GridCacheJdbcBlobStore.fromBytes(byte[] bytes)
Deserialize object from byte array using marshaller.
|
V |
GridCacheJdbcBlobStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheJdbcBlobStore.put(GridCacheTx tx,
K key,
V val)
Stores a given value in persistent storage.
|
void |
GridCacheJdbcBlobStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
protected byte[] |
GridCacheJdbcBlobStore.toBytes(Object obj)
Serialize object to byte array using marshaller.
|
void |
GridCacheJdbcBlobStore.txEnd(GridCacheTx tx,
boolean commit)
Default empty implementation for ending transactions.
|
| Modifier and Type | Method and Description |
|---|---|
GridBiTuple<V,?> |
GridCacheFileLocalStore.load(GridCacheTx tx,
K key)
Loads value for the key from underlying persistent storage.
|
void |
GridCacheFileLocalStore.loadAll(GridCacheTx tx,
Collection<? extends K> keys,
GridBiInClosure<K,GridBiTuple<V,?>> c)
Loads all values for given keys and passes every value to the provided closure.
|
void |
GridCacheFileLocalStore.loadCache(GridBiInClosure<K,GridBiTuple<V,?>> clo,
Object... args)
Loads all values from underlying persistent storage.
|
void |
GridCacheFileLocalStore.put(GridCacheTx tx,
K key,
GridBiTuple<V,?> val)
Stores a given value in persistent storage.
|
void |
GridCacheFileLocalStore.putAll(GridCacheTx tx,
Map<? extends K,? extends GridBiTuple<V,?>> map)
Stores given key value pairs in persistent storage.
|
void |
GridCacheFileLocalStore.remove(GridCacheTx tx,
K key)
Removes the value identified by given key from persistent storage.
|
void |
GridCacheFileLocalStore.removeAll(GridCacheTx tx,
Collection<? extends K> keys)
Removes all vales identified by given keys from persistent storage.
|
void |
GridCacheFileLocalStore.start()
Starts grid component, called on grid start.
|
void |
GridCacheFileLocalStore.stop()
Stops grid component, called on grid shutdown.
|
void |
GridCacheFileLocalStore.txEnd(GridCacheTx tx,
boolean commit)
Tells store to commit or rollback a transaction depending on the value of the
'commit'
parameter. |
| Modifier and Type | Class and Description |
|---|---|
class |
GridComputeExecutionRejectedException
This exception defines execution rejection.
|
class |
GridComputeTaskCancelledException
This exception indicates that grid task was cancelled.
|
class |
GridComputeTaskTimeoutException
This exception indicates that task execution timed out.
|
class |
GridComputeUserUndeclaredException
This exception is thrown when user's code throws undeclared runtime exception.
|
| Modifier and Type | Method and Description |
|---|---|
GridException |
GridComputeJobResult.getException()
Gets exception produced by execution of remote job, or
null if
remote execution finished normally and did not produce any exceptions. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridComputeJobSibling.cancel()
Sends a request to cancel this sibling.
|
void |
GridCompute.cancelJob(GridUuid jobId)
Cancels job with the given job ID, if it is currently running inside this projection.
|
void |
GridCompute.cancelTask(GridUuid sesId)
Cancels task with the given execution session ID, if it currently running inside this projection.
|
Object |
GridComputeJob.execute()
Executes this job.
|
R |
GridComputeTaskFuture.get()
Synchronously waits for completion of the computation and
returns computation result.
|
R |
GridComputeTaskFuture.get(long timeout)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
R |
GridComputeTaskFuture.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
GridNode |
GridComputeLoadBalancer.getBalancedNode(GridComputeJob job,
Collection<GridNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
GridComputeJobSibling |
GridComputeTaskSession.getJobSibling(GridUuid jobId)
Gets job sibling for a given ID.
|
Collection<GridComputeJobSibling> |
GridComputeTaskSession.getJobSiblings()
Gets a collection of all grid job siblings.
|
<T> T |
GridComputeTaskSession.loadCheckpoint(String key)
Loads job's state previously saved via
GridComputeTaskSession.saveCheckpoint(String, Object, GridComputeTaskSessionScope, long)
method from an underlying storage for a given key. |
void |
GridCompute.localDeployTask(Class<? extends GridComputeTask> taskCls,
ClassLoader clsLdr)
Explicitly deploys a task with given class loader on the local node.
|
Map<? extends GridComputeJob,GridNode> |
GridComputeTaskSplitAdapter.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
Map<? extends GridComputeJob,GridNode> |
GridComputeTask.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
void |
GridComputeJobMasterLeaveAware.onMasterNodeLeft(GridComputeTaskSession ses)
A method which is executed in case master node has left topology during job execution.
|
R |
GridComputeTask.reduce(List<GridComputeJobResult> results)
Reduces (or aggregates) results received so far into one compound result to be returned to
caller via
GridComputeTaskFuture.get() method. |
Collection<GridComputeJobSibling> |
GridComputeTaskSession.refreshJobSiblings()
Refreshes collection of job siblings.
|
boolean |
GridComputeTaskSession.removeCheckpoint(String key)
Removes previously saved job's state for a given
key from an underlying storage. |
GridComputeJobResultPolicy |
GridComputeTaskAdapter.result(GridComputeJobResult res,
List<GridComputeJobResult> rcvd)
Default implementation which will wait for all jobs to complete before
calling
GridComputeTask.reduce(List) method. |
GridComputeJobResultPolicy |
GridComputeTask.result(GridComputeJobResult res,
List<GridComputeJobResult> rcvd)
Asynchronous callback invoked every time a result from remote execution is
received.
|
void |
GridComputeTaskSession.saveCheckpoint(String key,
Object state)
Saves intermediate state of a job or task to a storage.
|
void |
GridComputeTaskSession.saveCheckpoint(String key,
Object state,
GridComputeTaskSessionScope scope,
long timeout)
Saves intermediate state of a job to a storage.
|
void |
GridComputeTaskSession.saveCheckpoint(String key,
Object state,
GridComputeTaskSessionScope scope,
long timeout,
boolean overwrite)
Saves intermediate state of a job or task to a storage.
|
void |
GridComputeTaskContinuousMapper.send(Collection<? extends GridComputeJob> jobs)
Sends collection of jobs to nodes automatically picked by the underlying load balancer.
|
void |
GridComputeTaskContinuousMapper.send(GridComputeJob job)
Sends job to a node automatically picked by the underlying load balancer.
|
void |
GridComputeTaskContinuousMapper.send(GridComputeJob job,
GridNode node)
Sends given job to a specific grid node.
|
void |
GridComputeTaskContinuousMapper.send(Map<? extends GridComputeJob,GridNode> mappedJobs)
Sends collection of grid jobs to assigned nodes.
|
void |
GridComputeTaskSession.setAttribute(Object key,
Object val)
Sets session attributed.
|
void |
GridComputeTaskSession.setAttributes(Map<?,?> attrs)
Sets task attributes.
|
protected abstract Collection<? extends GridComputeJob> |
GridComputeTaskSplitAdapter.split(int gridSize,
T arg)
This is a simplified version of
GridComputeTask.map(List, Object) method. |
void |
GridCompute.undeployTask(String taskName)
Makes the best attempt to undeploy a task with given name from this grid projection.
|
boolean |
GridComputeTaskFuture.waitForMap()
Waits until
GridComputeTask.map(List, Object) method completes. |
boolean |
GridComputeTaskFuture.waitForMap(long timeout)
Waits for a specified timeout in milliseconds for
GridComputeTask.map(List, Object)
method to complete. |
boolean |
GridComputeTaskFuture.waitForMap(long timeout,
TimeUnit unit)
Waits for a specified timeout in milliseconds for
GridComputeTask.map(List, Object)
method to complete. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridifyInterceptor.isGridify(Annotation gridify,
GridifyArgument arg)
This method is called before actual grid-enabling happens.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
GridDataLoader.close()
Closes data loader.
|
void |
GridDataLoader.close(boolean cancel)
Loads any remaining data and closes this loader.
|
void |
GridDataLoader.flush()
Loads any remaining data, but doesn't close the loader.
|
void |
GridDataLoader.isolated(boolean isolated)
Sets flag indicating that this data loader should assume that there are no other concurrent updates to the cache.
|
GridFuture<?> |
GridDataLoader.removeData(K key)
Adds key for removal on remote node.
|
void |
GridDataLoader.tryFlush()
Makes an attempt to load remaining data.
|
void |
GridDataLoadCacheUpdater.update(GridCache<K,V> cache,
Collection<Map.Entry<K,V>> entries)
Updates cache with batch of entries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDr.senderCacheDrPause(String cacheName)
Pauses data center replication for particular sender cache.
|
void |
GridDr.senderCacheDrResume(String cacheName)
Resumes data center replication for particular sender cache.
|
GridFuture<?> |
GridDr.senderCacheDrStateTransfer(String cacheName,
byte... dataCenterId)
Starts full state transfer for the given sender cache.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridDrSenderHubStoreCorruptedException
Exception thrown in case data center replication sender hub store was corrupted.
|
class |
GridDrSenderHubStoreOverflowException
Exception thrown when data center replication sender hub store cannot persist more entries.
|
| Modifier and Type | Method and Description |
|---|---|
GridDrSenderHubStoreCursor |
GridDrSenderHubStore.cursor(byte dataCenterId)
Gets cursor for the given data center ID.
|
GridDrSenderHubStoreEntry |
GridDrSenderHubStoreCursor.next()
Get next entry from that cursor.
|
void |
GridDrSenderHubStore.store(byte[] dataCenterIds,
byte[] data)
Store data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDrSenderHubFsStore.clear()
Clears store.
|
GridDrSenderHubStoreCursor |
GridDrSenderHubFsStore.cursor(byte dataCenterId)
Gets cursor for the given data center ID.
|
long |
GridDrSenderHubFsStore.redoBytesSize(byte dataCenterId) |
void |
GridDrSenderHubFsStore.start()
Starts grid component, called on grid start.
|
void |
GridDrSenderHubFsStore.store(byte[] dataCenters,
byte[] data)
Store data.
|
| Modifier and Type | Method and Description |
|---|---|
GridDrSenderHubStoreCursor |
GridDrSenderHubInMemoryStore.cursor(byte dataCenterId)
Gets cursor for the given data center ID.
|
void |
GridDrSenderHubInMemoryStore.store(byte[] dataCenterIds,
byte[] data)
Store data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridGgfsConcurrentModificationException
GGFS exception indicating that file system structure was modified concurrently. |
class |
GridGgfsCorruptedFileException
Exception thrown when target file's block is not found in data cache.
|
class |
GridGgfsException
GGFS exception thrown by file system components. |
class |
GridGgfsFileNotFoundException
GGFS exception indicating that target resource is not found. |
class |
GridGgfsInvalidHdfsVersionException
Exception thrown when GridGain detects that remote HDFS version differs from version of HDFS libraries
in GridGain classpath.
|
class |
GridGgfsInvalidPathException
GGFS exception indicating that operation target is invalid
(e.g. not a file while expecting to be a file). |
class |
GridGgfsIoException
This exception is used to wrap standard
IOException into GridException. |
class |
GridGgfsOutOfSpaceException
GGFS exception that is thrown when it detected out-of-space condition. |
class |
GridGgfsParentNotDirectoryException
Exception thrown when parent supposed to be a directory is a file.
|
class |
GridGgfsPathAlreadyExistsException
Exception thrown when target path supposed to be created already exists.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridGgfsBlockLocation> |
GridGgfs.affinity(GridGgfsPath path,
long start,
long len)
Gets affinity block locations for data blocks of the file, i.e. the nodes, on which the blocks
are stored.
|
GridGgfsOutputStream |
GridGgfs.append(GridGgfsPath path,
boolean create)
Opens an output stream to an existing file for appending data.
|
GridGgfsOutputStream |
GridGgfs.append(GridGgfsPath path,
int bufSize,
boolean create,
Map<String,String> props)
Opens an output stream to an existing file for appending data.
|
GridGgfsOutputStream |
GridGgfs.create(GridGgfsPath path,
boolean overwrite)
Creates a file and opens it for writing.
|
GridGgfsOutputStream |
GridGgfs.create(GridGgfsPath path,
int bufSize,
boolean overwrite,
GridUuid affKey,
int replication,
long blockSize,
Map<String,String> props)
Creates a file and opens it for writing.
|
boolean |
GridGgfs.delete(GridGgfsPath path,
boolean recursive)
Deletes file.
|
<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.
|
boolean |
GridGgfs.exists(GridGgfsPath path)
Checks if the specified path exists in the file system.
|
GridFuture<?> |
GridGgfs.format()
Formats the file system removing all existing entries from it.
|
GridGgfsFile |
GridGgfs.info(GridGgfsPath path)
Gets file information for the specified path.
|
Collection<GridGgfsFile> |
GridGgfs.listFiles(GridGgfsPath path)
Lists files under the specified path.
|
Collection<GridGgfsPath> |
GridGgfs.listPaths(GridGgfsPath path)
Lists file paths under the specified path.
|
GridGgfsMetrics |
GridGgfs.metrics()
Gets metrics snapshot for this file system.
|
void |
GridGgfs.mkdirs(GridGgfsPath path)
Creates directories under specified path.
|
void |
GridGgfs.mkdirs(GridGgfsPath path,
Map<String,String> props)
Creates directories under specified path with the specified properties.
|
GridGgfsInputStream |
GridGgfs.open(GridGgfsPath path)
Opens a file for reading.
|
GridGgfsInputStream |
GridGgfs.open(GridGgfsPath path,
int bufSize)
Opens a file for reading.
|
GridGgfsInputStream |
GridGgfs.open(GridGgfsPath path,
int bufSize,
int seqReadsBeforePrefetch)
Opens a file for reading.
|
void |
GridGgfs.rename(GridGgfsPath src,
GridGgfsPath dest)
Renames/moves a file.
|
void |
GridGgfs.resetMetrics()
Resets metrics for this file system.
|
void |
GridGgfs.setTimes(GridGgfsPath path,
long accessTime,
long modificationTime)
Sets last access time and last modification time for a given path.
|
long |
GridGgfs.size(GridGgfsPath path)
Determines size of the file denoted by provided path.
|
GridGgfsPathSummary |
GridGgfs.summary(GridGgfsPath path)
Gets summary (total number of files, total number of directories and total length)
for a given path.
|
GridGgfsFile |
GridGgfs.update(GridGgfsPath path,
Map<String,String> props)
Updates file information for the specified path.
|
| Modifier and Type | Method and Description |
|---|---|
abstract GridGgfsJob |
GridGgfsTask.createJob(GridGgfsPath path,
GridGgfsFileRange range,
GridGgfsTaskArgs<T> args)
Callback invoked during task map procedure to create job that will process specified split
for GGFS file.
|
Object |
GridGgfsJob.execute(GridGgfs ggfs,
GridGgfsFileRange range,
GridGgfsInputStream in)
Executes this job.
|
Object |
GridGgfsInputStreamJobAdapter.execute(GridGgfs ggfs,
GridGgfsFileRange range,
GridGgfsInputStream in)
Executes this job.
|
abstract Object |
GridGgfsInputStreamJobAdapter.execute(GridGgfs ggfs,
GridGgfsRangeInputStream in)
Executes this job.
|
Map<? extends GridComputeJob,GridNode> |
GridGgfsTask.map(List<GridNode> subgrid,
GridGgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
GridGgfsFileRange |
GridGgfsRecordResolver.resolveRecords(GridGgfs ggfs,
GridGgfsInputStream stream,
GridGgfsFileRange suggestedRecord)
Adjusts record start offset and length.
|
| Modifier and Type | Method and Description |
|---|---|
GridGgfsFileRange |
GridGgfsFixedLengthRecordResolver.resolveRecords(GridGgfs ggfs,
GridGgfsInputStream stream,
GridGgfsFileRange suggestedRecord)
Adjusts record start offset and length.
|
GridGgfsFileRange |
GridGgfsByteDelimiterRecordResolver.resolveRecords(GridGgfs ggfs,
GridGgfsInputStream stream,
GridGgfsFileRange suggestedRecord)
Adjusts record start offset and length.
|
| Constructor and Description |
|---|
GridLog4jLogger(File cfgFile)
Creates new logger with given configuration
cfgFile. |
GridLog4jLogger(String path)
Creates new logger with given configuration
path. |
GridLog4jLogger(URL cfgUrl)
Creates new logger with given configuration
cfgUrl. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridAbstractMarshaller.marshal(Object obj)
Marshals object to byte array.
|
byte[] |
GridMarshaller.marshal(Object obj)
Marshals object to byte array.
|
void |
GridMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
GridAbstractMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
GridMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
GridMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridJdkMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
<T> T |
GridJdkMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridOptimizedMarshaller.marshal(Object obj)
Marshals object to byte array.
|
void |
GridOptimizedMarshaller.marshal(Object obj,
OutputStream out)
Marshals object to the output stream.
|
void |
GridOptimizedMarshaller.setClassNamesPath(String path)
Specifies a name of the file which lists all class names to be optimized.
|
<T> T |
GridOptimizedMarshaller.unmarshal(byte[] arr,
ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
GridOptimizedMarshaller.unmarshal(InputStream in,
ClassLoader clsLdr)
Unmarshals object from the output stream using given class loader.
|
| Constructor and Description |
|---|
GridOptimizedMarshaller(boolean requireSer,
List<String> clsNames,
String clsNamesPath,
int poolSize)
Initializes marshaller with given serialization flag.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridMessagingListenActor.respond(Object respMsg)
Responds to the original sender node with given message and continues to listen for the new messages.
|
protected void |
GridMessagingListenActor.respond(UUID id,
Object respMsg)
Responds to the provided node with given message and continues to listen for the new messages.
|
void |
GridMessaging.send(Object topic,
Collection<?> msgs)
Sends given messages with specified topic to the nodes in this projection.
|
void |
GridMessaging.send(Object topic,
Object msg)
Sends given message with specified topic to the nodes in this projection.
|
void |
GridMessaging.sendOrdered(Object topic,
Object msg,
long timeout)
Sends given message with specified topic to the nodes in this projection.
|
protected void |
GridMessagingListenActor.stop(Object respMsg)
This method sends the response message to the original sender node and instructs underlying
implementation to stop receiving new messages and unregister the message listener.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridProductLicenseException
This exception is thrown when license violation is detected.
|
| Modifier and Type | Method and Description |
|---|---|
R |
GridSchedulerFuture.get()
Waits for the completion of the next scheduled execution and returns its result.
|
R |
GridSchedulerFuture.get(long timeout)
Waits for the completion of the next scheduled execution for
specified amount of time and returns its result.
|
R |
GridSchedulerFuture.get(long timeout,
TimeUnit unit)
Waits for the completion of the next scheduled execution for
specified amount of time and returns its result.
|
R |
GridSchedulerFuture.last()
Gets result of the last execution of scheduled task, or
null if task has not been executed, or has not
produced a result yet. |
long |
GridSchedulerFuture.nextExecutionTime()
Gets next execution time of scheduled task.
|
long[] |
GridSchedulerFuture.nextExecutionTimes(int cnt,
long start)
Gets an array of the next execution times after passed
start timestamp. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridSegmentationResolver.isValidSegment()
Checks whether segment is valid.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridReachabilitySegmentationResolver.isValidSegment()
Checks whether segment is valid.
|
void |
GridReachabilitySegmentationResolver.setAddressAsString(String addr)
Convenient way to set address.
|
void |
GridReachabilitySegmentationResolver.setNetworkInterfaceAddressAsString(String itfAddr)
Convenient way to set network interface address.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridSharedFsSegmentationResolver.isValidSegment()
Checks whether segment is valid.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridTcpSegmentationResolver.isValidSegment()
Checks whether segment is valid.
|
void |
GridTcpSegmentationResolver.setAddressAsString(String addr)
Convenient way to set address.
|
void |
GridTcpSegmentationResolver.setLocalAddress(InetAddress locAddr)
Sets local address.
|
void |
GridTcpSegmentationResolver.setLocalAddressAsString(String locAddr)
Convenient way to set local address.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridSpiException
Exception thrown by SPI implementations.
|
class |
GridSpiMultiException
Grid SPI exception which may contain more than one failure.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridSpiContext.authenticateNode(UUID nodeId,
Map<String,Object> attrs)
Authenticate grid node via underlying
GridAuthenticationSpi implementation. |
void |
GridSpiCloseableIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
<K,V> V |
GridSpiContext.get(String cacheName,
K key)
Gets object from cache.
|
Collection<Integer> |
GridSpiPortResolver.getExternalPorts(int port)
Maps internal port to a collection of external ports.
|
<K,V> V |
GridSpiContext.put(String cacheName,
K key,
V val,
long ttl)
Puts object in cache.
|
<K,V> V |
GridSpiContext.putIfAbsent(String cacheName,
K key,
V val,
long ttl)
Puts object into cache if there was no previous object associated with
given key.
|
<T> T |
GridSpiContext.readFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
ClassLoader ldr)
Reads object from off-heap.
|
<T> T |
GridSpiContext.readFromSwap(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads object from swap.
|
<K,V> V |
GridSpiContext.remove(String cacheName,
K key)
Removes object from cache.
|
boolean |
GridSpiContext.removeFromOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes)
Removes data from off-heap memory.
|
void |
GridSpiContext.removeFromSwap(String spaceName,
Object key,
ClassLoader ldr)
Removes object from swap.
|
void |
GridSpiContext.writeToOffheap(String spaceName,
int part,
Object key,
byte[] keyBytes,
Object val,
byte[] valBytes,
ClassLoader ldr)
Writes data to off-heap memory.
|
void |
GridSpiContext.writeToSwap(String spaceName,
Object key,
Object val,
ClassLoader ldr)
Writes object to swap.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.gridgain.grid.util.nio.GridCommunicationClient |
GridTcpCommunicationSpi.createNioClient(GridNode node) |
protected org.gridgain.grid.util.nio.GridCommunicationClient |
GridTcpCommunicationSpi.createShmemClient(GridNode node,
Integer port) |
protected org.gridgain.grid.util.nio.GridCommunicationClient |
GridTcpCommunicationSpi.createTcpClient(GridNode node)
Establish TCP connection to remote node and returns client.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridFailoverContext.getBalancedNode(List<GridNode> top)
Gets the next balanced node for failed job.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridAdaptiveLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridRoundRobinLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridStreamer.addEvent(Object evt,
Object... evts)
Submits group of events for processing.
|
void |
GridStreamer.addEvents(Collection<?> evts)
Submits group of events for processing.
|
void |
GridStreamer.addEventsToStage(String stageName,
Collection<?> evts)
Submits events to streamer.
|
void |
GridStreamer.addEventToStage(String stageName,
Object evt,
Object... evts)
Submits group of events to streamer.
|
void |
GridStreamerContext.broadcast(GridInClosure<GridStreamerContext> clo)
Queries all streamer nodes deployed within grid.
|
void |
GridStreamerContext.broadcast(GridInClosure<GridStreamerContext> clo,
Collection<GridNode> nodes)
Queries streamer nodes deployed within grid.
|
void |
GridStreamerWindow.clearEvicted()
Clears all evicted entries.
|
E |
GridStreamerWindow.dequeue()
Dequeues last element from windows.
|
Collection<E> |
GridStreamerWindow.dequeue(int cnt)
Dequeues up to
cnt elements from window. |
Collection<E> |
GridStreamerWindow.dequeueAll()
Dequeues all elements from window.
|
boolean |
GridStreamerWindow.enqueue(E... evts)
Adds events to window.
|
boolean |
GridStreamerWindow.enqueue(E evt)
Adds single event to window.
|
boolean |
GridStreamerWindow.enqueueAll(Collection<E> evts)
Adds all events to window.
|
E |
GridStreamerWindow.pollEvicted()
If window supports eviction, this method will return next evicted element.
|
Collection<E> |
GridStreamerWindow.pollEvicted(int cnt)
If window supports eviction, this method will return up to
cnt evicted elements. |
Collection<E> |
GridStreamerWindow.pollEvictedAll()
If window supports eviction, this method will return all available evicted elements.
|
Collection<E> |
GridStreamerWindow.pollEvictedBatch()
If window supports batch eviction, this method will poll next evicted batch from window.
|
<R> Collection<R> |
GridStreamerContext.query(GridClosure<GridStreamerContext,R> clo)
Queries all streamer nodes deployed within grid.
|
<R> Collection<R> |
GridStreamerContext.query(GridClosure<GridStreamerContext,R> clo,
Collection<GridNode> nodes)
Queries streamer nodes deployed within grid.
|
<R1,R2> R2 |
GridStreamerContext.reduce(GridClosure<GridStreamerContext,R1> clo,
GridReducer<R1,R2> rdc)
Queries all streamer nodes deployed within grid.
|
<R1,R2> R2 |
GridStreamerContext.reduce(GridClosure<GridStreamerContext,R1> clo,
GridReducer<R1,R2> rdc,
Collection<GridNode> nodes)
Queries streamer nodes deployed within grid.
|
Map<String,Collection<?>> |
GridStreamerStage.run(GridStreamerContext ctx,
Collection<IN> evts)
Stage execution routine.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
GridStreamerIndexProviderAdapter.add(E evt,
K key,
GridStreamerIndexUpdateSync sync)
Add event to the index.
|
void |
GridStreamerIndexProvider.add(GridStreamerIndexUpdateSync sync,
E evt)
Adds an event to index.
|
void |
GridStreamerIndexProviderAdapter.add(GridStreamerIndexUpdateSync sync,
E evt)
Add event to the index.
|
protected void |
GridStreamerIndexProviderAdapter.lockIndexKey(GridStreamerIndexProviderAdapter.IndexKey<V> key,
GridStreamerIndexUpdateSync sync)
Lock updates on particular key.
|
V |
GridStreamerIndexUpdater.onAdded(GridStreamerIndexEntry<E,K,V> entry,
E evt)
Callback invoked whenever an event is being added to the window.
|
protected abstract void |
GridStreamerIndexProviderAdapter.remove(E evt,
K key,
GridStreamerIndexUpdateSync sync)
Remove event from the index.
|
void |
GridStreamerIndexProvider.remove(GridStreamerIndexUpdateSync sync,
E evt)
Removes an event from index.
|
void |
GridStreamerIndexProviderAdapter.remove(GridStreamerIndexUpdateSync sync,
E evt)
Remove event from the index.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridStreamerHashIndexProvider.add(E evt,
K key,
GridStreamerIndexUpdateSync sync)
Add event to the index.
|
protected void |
GridStreamerHashIndexProvider.remove(E evt,
K key,
GridStreamerIndexUpdateSync sync)
Remove event from the index.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridStreamerTreeIndexProvider.add(E evt,
K key,
GridStreamerIndexUpdateSync sync)
Add event to the index.
|
protected void |
GridStreamerTreeIndexProvider.remove(E evt,
K key,
GridStreamerIndexUpdateSync sync)
Remove event from the index.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
GridStreamerWindowAdapter.checkConfiguration()
Check window configuration.
|
void |
GridStreamerBoundedTimeWindow.checkConfiguration()
Check window configuration.
|
void |
GridStreamerBoundedTimeBatchWindow.checkConfiguration()
Check window configuration.
|
void |
GridStreamerBoundedSizeBatchWindow.checkConfiguration()
Check window configuration.
|
void |
GridStreamerWindowAdapter.clearEvicted()
Clears all evicted entries.
|
E |
GridStreamerWindowAdapter.dequeue()
Dequeues last element from windows.
|
Collection<E> |
GridStreamerWindowAdapter.dequeue(int cnt)
Dequeues up to
cnt elements from window. |
Collection<E> |
GridStreamerWindowAdapter.dequeueAll()
Dequeues all elements from window.
|
boolean |
GridStreamerWindowAdapter.enqueue(E... evts)
Adds events to window.
|
boolean |
GridStreamerWindowAdapter.enqueue(E evt)
Adds single event to window.
|
boolean |
GridStreamerWindowAdapter.enqueueAll(Collection<E> evts)
Adds all events to window.
|
E |
GridStreamerWindowAdapter.pollEvicted()
If window supports eviction, this method will return next evicted element.
|
Collection<E> |
GridStreamerWindowAdapter.pollEvicted(int cnt)
If window supports eviction, this method will return up to
cnt evicted elements. |
Collection<E> |
GridStreamerWindowAdapter.pollEvictedAll()
If window supports eviction, this method will return all available evicted elements.
|
Collection<E> |
GridStreamerWindowAdapter.pollEvictedBatch()
If window supports batch eviction, this method will poll next evicted batch from window.
|
void |
GridStreamerWindowAdapter.start()
Starts grid component, called on grid start.
|
protected void |
GridStreamerWindowAdapter.updateIndexes(E evt,
boolean rmv)
Update indexes.
|
| Constructor and Description |
|---|
GridThreadWorkManagerExecutor(String jndiName)
Creates new instance of execution service based on CommonJ implementation.
|
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