| Modifier and Type | Method and Description |
|---|---|
IgniteInClosure<IgniteConfiguration> |
IgniteConfiguration.getWarmupClosure()
Gets grid warmup closure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteConfiguration.setWarmupClosure(IgniteInClosure<IgniteConfiguration> warmupClos)
Sets warmup closure to execute before grid startup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteInternalFuture.listenAsync(IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
IgniteInternalFuture.stopListenAsync(IgniteInClosure<? super IgniteInternalFuture<R>>... lsnr)
Removes given listeners from the future.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridSwapSpaceManager.remove(String spaceName,
Object key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GridCacheAdapter.UpdateGetTimeStatClosure<T> |
protected static class |
GridCacheAdapter.UpdatePutAndGetTimeStatClosure<T> |
protected static class |
GridCacheAdapter.UpdatePutTimeStatClosure<T> |
protected static class |
GridCacheAdapter.UpdateRemoveTimeStatClosure<T> |
protected static class |
GridCacheAdapter.UpdateTimeStatClosure<T> |
| Modifier and Type | Method and Description |
|---|---|
static IgniteInClosure<IgniteInternalFuture<?>> |
GridCacheUtils.errorLogger(IgniteLogger log,
Class<? extends Exception>... excl) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheProjectionImpl.forEach(IgniteInClosure<javax.cache.Cache.Entry<K,V>> vis)
Executes visitor closure on each cache element.
|
void |
CacheProjection.forEach(IgniteInClosure<javax.cache.Cache.Entry<K,V>> vis)
Executes visitor closure on each cache element.
|
void |
GridCacheProxyImpl.forEach(IgniteInClosure<javax.cache.Cache.Entry<K,V>> vis)
Executes visitor closure on each cache element.
|
void |
GridCacheAdapter.forEach(IgniteInClosure<javax.cache.Cache.Entry<K,V>> vis)
Executes visitor closure on each cache element.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<IgniteInternalTx<K,V>> |
GridDhtTxLocal.prepareAsync(Iterable<IgniteTxEntry<K,V>> reads,
Iterable<IgniteTxEntry<K,V>> writes,
Map<IgniteTxKey<K>,GridCacheVersion> verMap,
long msgId,
IgniteUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse<K,V>> completeCb)
Prepares next batch of entries in dht transaction.
|
| Constructor and Description |
|---|
GridDhtTxPrepareFuture(GridCacheSharedContext<K,V> cctx,
GridDhtTxLocalAdapter<K,V> tx,
IgniteUuid nearMiniId,
Map<IgniteTxKey<K>,GridCacheVersion> dhtVerMap,
boolean last,
boolean retVal,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse<K,V>> completeCb) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<IgniteInternalTx<K,V>> |
GridNearTxLocal.prepareAsyncLocal(Collection<IgniteTxEntry<K,V>> reads,
Collection<IgniteTxEntry<K,V>> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse<K,V>> completeCb)
Prepares next batch of entries in dht transaction.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<IgniteInternalTx<K,V>> |
IgniteTxHandler.prepareTx(UUID nearNodeId,
GridNearTxLocal<K,V> locTx,
GridNearTxPrepareRequest<K,V> req,
IgniteInClosure<GridNearTxPrepareResponse<K,V>> completeCb) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridStreamerContextDelegate.broadcast(IgniteInClosure<StreamerContext> clo)
Queries all streamer nodes deployed within grid.
|
void |
GridStreamerContextImpl.broadcast(IgniteInClosure<StreamerContext> clo)
Queries all streamer nodes deployed within grid.
|
void |
GridStreamerContextDelegate.broadcast(IgniteInClosure<StreamerContext> clo,
Collection<ClusterNode> nodes)
Queries streamer nodes deployed within grid.
|
void |
GridStreamerContextImpl.broadcast(IgniteInClosure<StreamerContext> clo,
Collection<ClusterNode> nodes)
Queries streamer nodes deployed within grid.
|
| Constructor and Description |
|---|
GridStreamerBroadcastTask(IgniteInClosure<StreamerContext> clo,
String streamer) |
| Modifier and Type | Method and Description |
|---|---|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
IgniteLogger log,
IgniteInClosure<String> printC,
GridAbsClosure procKilledC)
Executes main() method of the given class in a separate system process.
|
static GridJavaProcess |
GridJavaProcess.exec(Class cls,
String params,
IgniteLogger log,
IgniteInClosure<String> printC,
GridAbsClosure procKilledC,
Collection<String> jvmArgs,
String cp)
Executes main() method of the given class in a separate system process.
|
void |
GridCircularBuffer.forEach(IgniteInClosure<T> c)
Executes given closure for every item in circular buffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridFutureChainListener<T,R>
Future listener to fill chained future with converted result of the source future.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteFutureImpl.listenAsync(IgniteInClosure<? super IgniteFuture<V>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFutureAdapter.listenAsync(IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFutureAdapterEx.listenAsync(IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFinishedFutureEx.listenAsync(IgniteInClosure<? super IgniteInternalFuture<T>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFinishedFuture.listenAsync(IgniteInClosure<? super IgniteInternalFuture<T>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
IgniteFutureImpl.stopListenAsync(IgniteInClosure<? super IgniteFuture<V>> lsnr)
Removes given listener from the future.
|
void |
GridFutureAdapter.stopListenAsync(IgniteInClosure<? super IgniteInternalFuture<R>>... lsnr)
Removes given listeners from the future.
|
void |
GridFutureAdapterEx.stopListenAsync(IgniteInClosure<? super IgniteInternalFuture<R>>... lsnr)
Removes given listeners from the future.
|
void |
GridFinishedFutureEx.stopListenAsync(IgniteInClosure<? super IgniteInternalFuture<T>>... lsnr)
Removes given listeners from the future.
|
void |
GridFinishedFuture.stopListenAsync(IgniteInClosure<? super IgniteInternalFuture<T>>... lsnr)
Removes given listeners from the future.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgniteInClosureX<T>
Convenient in-closure subclass that allows for thrown grid exception.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> IgniteInClosure<T> |
GridFunc.ciInvoke(String mtdName,
Object... args)
Creates in closure that will reflectively call a method with the given name on
closure's argument.
|
static <T> IgniteInClosure<T> |
GridFunc.print()
Gets closure that prints out its bound variable
|
static <T> IgniteInClosure<T> |
GridFunc.print(String pre,
String post)
Gets closure that prints out its bound variable.
|
static <T> IgniteInClosure<T> |
GridFunc.printf(String fmt)
Gets closure that prints out its bound variable.
|
static <T> IgniteInClosure<T> |
GridFunc.println()
Gets closure that calls
System.out.println() on its bound variable. |
static <T> IgniteInClosure<T> |
GridFunc.println(String pre,
String post)
Gets closure that prints out its bound variable.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Collection<GridAbsClosure> |
GridFunc.curry(IgniteInClosure<? super T> c,
Collection<? extends T> args)
Curries collection of closures with given collection of arguments.
|
static <T> GridAbsClosure |
GridFunc.curry(IgniteInClosure<? super T> f,
T e)
Curries given closure.
|
static <T> Collection<GridAbsClosure> |
GridFunc.curry(int cnt,
IgniteInClosure<? super T> c,
IgniteOutClosure<T> pdc)
Curries collection of closures with given collection of arguments.
|
static <X> void |
GridFunc.forEach(Iterable<? extends X> c,
IgniteInClosure<? super X> f,
IgnitePredicate<? super X>... p)
Calls given
side-effect only closure over the each element of the provided
collection. |
static <K,V> void |
GridFunc.forEach(Map<? extends K,? extends V> m,
IgniteInClosure<? super IgniteBiTuple<K,V>> f,
IgnitePredicate<? super IgniteBiTuple<K,V>>... p)
Calls given
side-effect only closure (if provided) over the each element of the
provided map. |
static <X> void |
GridFunc.forEach(X[] c,
IgniteInClosure<? super X> f,
IgnitePredicate<? super X>... p)
Calls given
side-effect only closure over the each element of the provided array. |
static <T> Collection<GridAbsClosure> |
GridFunc.yield(Collection<? extends T> c,
IgniteInClosure<? super T> f)
Given collection of items and a closure this method returns read-only collection of
closures where each closure is closed on an element of the initial collection.
|
static <T> Collection<GridAbsClosure> |
GridFunc.yield(T[] c,
IgniteInClosure<? super T> f)
Given collection of items and a closure this method returns collection
of closures where each closure is closed on an element of the initial collection.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Collection<GridAbsClosure> |
GridFunc.curry0(Collection<? extends IgniteInClosure<? super T>> in,
Collection<? extends T> args)
Curries collection of in closures with given collection of arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNioFuture.listenAsync(IgniteInClosure<? super GridNioFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridNioFinishedFuture.listenAsync(IgniteInClosure<? super GridNioFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridNioFutureImpl.listenAsync(IgniteInClosure<? super GridNioFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
GridNioFuture<?> |
GridNioServer.sendSystem(GridNioSession ses,
MessageAdapter msg,
IgniteInClosure<? super GridNioFuture<?>> lsnr)
Adds message at the front of the queue without acquiring back pressure semaphore.
|
boolean |
GridNioRecoveryDescriptor.tryReserve(long id,
IgniteInClosure<Boolean> c) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CI1<T>
Defines
alias for IgniteInClosure by extending it. |
| Modifier and Type | Class and Description |
|---|---|
class |
CIX1<T>
Defines
alias for IgniteInClosureX by extending it. |
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteFuture.listenAsync(IgniteInClosure<? super IgniteFuture<V>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
IgniteFuture.stopListenAsync(IgniteInClosure<? super IgniteFuture<V>> lsnr)
Removes given listener from the future.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NoopSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicWarmupClosure
Basic warm-up closure which warm-ups cache operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamerContext.broadcast(IgniteInClosure<StreamerContext> clo)
Queries all streamer nodes deployed within grid.
|
void |
StreamerContext.broadcast(IgniteInClosure<StreamerContext> clo,
Collection<ClusterNode> nodes)
Queries streamer nodes deployed within grid.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015