| 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.listen(IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
| 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 |
|---|---|
IgniteInternalFuture<IgniteInternalTx> |
GridDhtTxLocal.prepareAsync(Iterable<IgniteTxEntry> reads,
Iterable<IgniteTxEntry> writes,
Map<IgniteTxKey,GridCacheVersion> verMap,
long msgId,
IgniteUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse> completeCb)
Prepares next batch of entries in dht transaction.
|
| Constructor and Description |
|---|
GridDhtTxPrepareFuture(GridCacheSharedContext cctx,
GridDhtTxLocalAdapter tx,
IgniteUuid nearMiniId,
Map<IgniteTxKey,GridCacheVersion> dhtVerMap,
boolean last,
boolean retVal,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse> completeCb) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<IgniteInternalTx> |
GridNearTxLocal.prepareAsyncLocal(Collection<IgniteTxEntry> reads,
Collection<IgniteTxEntry> writes,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse> completeCb)
Prepares next batch of entries in dht transaction.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<IgniteInternalTx> |
IgniteTxHandler.prepareTx(UUID nearNodeId,
GridNearTxLocal locTx,
GridNearTxPrepareRequest req,
IgniteInClosure<GridNearTxPrepareResponse> completeCb) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridStreamerContextImpl.broadcast(IgniteInClosure<StreamerContext> clo)
Queries all streamer nodes deployed within grid.
|
void |
GridStreamerContextDelegate.broadcast(IgniteInClosure<StreamerContext> clo)
Queries all streamer nodes deployed within grid.
|
void |
GridStreamerContextImpl.broadcast(IgniteInClosure<StreamerContext> clo,
Collection<ClusterNode> nodes)
Queries streamer nodes deployed within grid.
|
void |
GridStreamerContextDelegate.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.listen(IgniteInClosure<? super IgniteFuture<V>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFutureAdapter.listen(IgniteInClosure<? super IgniteInternalFuture<R>> lsnr0)
Registers listener closure to be asynchronously notified whenever future completes.
|
void |
GridFinishedFuture.listen(IgniteInClosure<? super IgniteInternalFuture<T>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
| 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 |
|---|---|
GridNioFuture<?> |
GridNioServer.sendSystem(GridNioSession ses,
Message msg,
IgniteInClosure<? super IgniteInternalFuture<?>> 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.listen(IgniteInClosure<? super IgniteFuture<V>> lsnr)
Registers listener closure to be asynchronously notified whenever future completes.
|
| 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-RC3 Release Date : March 24 2015