## Uses of Interface
org.apache.ignite.lang.IgniteClosure

Packages that use IgniteClosure
Package | Description
--- | ---
org.apache.ignite | Contains entry-point Ignite & HPC APIs.
org.apache.ignite.internal | Contains main implementation.
org.apache.ignite.internal.processors.cache |
org.apache.ignite.internal.processors.cache.query |
org.apache.ignite.internal.processors.closure | TODO.
org.apache.ignite.internal.processors.datastreamer | Data streamer processor.
org.apache.ignite.internal.processors.platform |
org.apache.ignite.internal.processors.platform.compute |
org.apache.ignite.internal.processors.platform.cpp |
org.apache.ignite.internal.processors.platform.dotnet |
org.apache.ignite.internal.util | System-wide utility routine and helper classes.
org.apache.ignite.internal.util.future | Future related classes.
org.apache.ignite.internal.util.lang |
org.apache.ignite.internal.util.typedef | Contains typedefs definitions for frequently used classes.
org.apache.ignite.internal.visor.util |
org.apache.ignite.lang | Contains general language constructs and functional APIs for distributed computations.

### Uses of IgniteClosure in org.apache.ignite

Methods in org.apache.ignite with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T,R> Collection<R>` | IgniteCompute.`apply(IgniteClosure<T,R> job, Collection<? extends T> args)` Executes provided closure job on nodes within the underlying cluster group.
`<R,T> R` | IgniteCompute.`apply(IgniteClosure<T,R> job, T arg)` Executes provided closure job on a node within the underlying cluster group.
`<R1,R2,T> R2` | IgniteCompute.`apply(IgniteClosure<T,R1> job, Collection<? extends T> args, IgniteReducer<R1,R2> rdc)` Executes provided closure job on nodes within the underlying cluster group.
`<R,T> Collection<R>` | IgniteCompute.`broadcast(IgniteClosure<T,R> job, T arg)` Broadcasts given closure job with passed in argument to all nodes in the cluster group.
`<T,R> QueryCursor<R>` | IgniteCache.`query(Query<T> qry, IgniteClosure<T,R> transformer)` Queries the cache transforming the entries on the server nodes.

### Uses of IgniteClosure in org.apache.ignite.internal

Methods in org.apache.ignite.internal with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T,R> Collection<R>` | IgniteComputeImpl.`apply(IgniteClosure<T,R> job, Collection<? extends T> args)` Executes provided closure job on nodes within the underlying cluster group.
`<R,T> R` | IgniteComputeImpl.`apply(IgniteClosure<T,R> job, T arg)` Executes provided closure job on a node within the underlying cluster group.
`<R1,R2,T> R2` | IgniteComputeImpl.`apply(IgniteClosure<T,R1> job, Collection<? extends T> args, IgniteReducer<R1,R2> rdc)` Executes provided closure job on nodes within the underlying cluster group.
`<R,T> Collection<R>` | IgniteComputeImpl.`broadcast(IgniteClosure<T,R> job, T arg)` Broadcasts given closure job with passed in argument to all nodes in the cluster group.
`<T> IgniteInternalFuture<T>` | IgniteInternalFuture.`chain(IgniteClosure<? super IgniteInternalFuture<R>,T> doneCb)` Make a chained future to convert result of this future (when complete) into a new format.

### Uses of IgniteClosure in org.apache.ignite.internal.processors.cache

Fields in org.apache.ignite.internal.processors.cache declared as IgniteClosure
Modifier and Type | Field and Description
--- | ---
`protected static IgniteClosure` | GridCacheAdapter.`RET2NULL` `GridCacheReturn`-to-null conversion.

Methods in org.apache.ignite.internal.processors.cache that return IgniteClosure
Modifier and Type | Method and Description
--- | ---
`static IgniteClosure<GridCacheEntryEx,KeyCacheObject>` | GridCacheUtils.`entry2Key()`
`static <K,V> IgniteClosure<Integer,IgnitePredicate<javax.cache.Cache.Entry<K,V>>[]>` | GridCacheUtils.`factory()` Entry predicate factory mostly used for deserialization.
`static <K,V> IgniteClosure<GridCacheEntryInfo,K>` | GridCacheUtils.`info2Key()`
`static <K,V> IgniteClosure<IgniteInternalTx,GridCacheVersion>` | GridCacheUtils.`tx2xidVersion()`

Methods in org.apache.ignite.internal.processors.cache with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T> IgniteFuture<T>` | IgniteCacheFutureImpl.`chain(IgniteClosure<? super IgniteFuture<V>,T> doneCb)` Make a chained future to convert result of this future (when complete) into a new format.
`<T,R> QueryCursor<R>` | IgniteCacheProxy.`query(Query<T> qry, IgniteClosure<T,R> transformer)` Queries the cache transforming the entries on the server nodes.

Constructors in org.apache.ignite.internal.processors.cache with parameters of type IgniteClosure
Constructor and Description
`GridCacheIterator(GridCacheContext<K,V> cctx, Iterable<? extends javax.cache.Cache.Entry<K,V>> c, IgniteClosure<javax.cache.Cache.Entry<K,V>,T> trans, IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter)`

### Uses of IgniteClosure in org.apache.ignite.internal.processors.cache.query

Methods in org.apache.ignite.internal.processors.cache.query that return IgniteClosure
Modifier and Type | Method and Description
--- | ---
`IgniteClosure<?,?>` | GridCacheQueryBean.`transform()`
`<K,V> IgniteClosure<Map.Entry<K,V>,Object>` | GridCacheQueryAdapter.`transform()`
`IgniteClosure<?,?>` | GridCacheQueryRequest.`transformer()`

Methods in org.apache.ignite.internal.processors.cache.query with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T,R> CacheQuery<R>` | GridCacheQueryManager.`createScanQuery(IgniteBiPredicate<K,V> filter, IgniteClosure<T,R> trans, Integer part, boolean keepBinary)` Creates user's predicate based scan query.

Constructors in org.apache.ignite.internal.processors.cache.query with parameters of type IgniteClosure
Constructor and Description
`GridCacheQueryAdapter(GridCacheContext<?,?> cctx, GridCacheQueryType type, IgniteBiPredicate<Object,Object> filter, IgniteClosure<Map.Entry,Object> transform, Integer part, boolean keepBinary)`
`GridCacheQueryBean(GridCacheQueryAdapter<?> qry, IgniteReducer<Object,Object> rdc, IgniteClosure<?,?> trans, Object[] args)`

`GridCacheQueryRequest(int cacheId, long id, String cacheName, GridCacheQueryType type, boolean fields, String clause, String clsName, IgniteBiPredicate<Object,Object> keyValFilter, Integer part, IgniteReducer<Object,Object> rdc, IgniteClosure<?,?> trans, int pageSize, boolean incBackups, Object[] args, boolean incMeta, boolean keepBinary, UUID subjId, int taskHash, AffinityTopologyVersion topVer, boolean addDepInfo)`

### Uses of IgniteClosure in org.apache.ignite.internal.processors.closure

Fields in org.apache.ignite.internal.processors.closure declared as IgniteClosure
Modifier and Type | Field and Description
--- | ---
`protected IgniteClosure<T,R>` | GridClosureProcessor.C1V2.`job`

Methods in org.apache.ignite.internal.processors.closure that return IgniteClosure
Modifier and Type | Method and Description
--- | ---
`IgniteClosure` | GridClosureProcessor.C1V2.`userObject()` Get user object where resources must be injected.

Methods in org.apache.ignite.internal.processors.closure with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T,R> IgniteInternalFuture<Collection<R>>` | GridClosureProcessor.`broadcast(IgniteClosure<T,R> job, T arg, Collection<ClusterNode> nodes)`
`<T,R> IgniteInternalFuture<Collection<R>>` | GridClosureProcessor.`broadcastNoFailover(IgniteClosure<T,R> job, T arg, Collection<ClusterNode> nodes)`
`<T,R> ComputeTaskInternalFuture<Collection<R>>` | GridClosureProcessor.`callAsync(IgniteClosure<T,R> job, Collection<? extends T> args, Collection<ClusterNode> nodes)`
`<T,R> ComputeTaskInternalFuture<R>` | GridClosureProcessor.`callAsync(IgniteClosure<T,R> job, T arg, Collection<ClusterNode> nodes)`
`<T,R1,R2> ComputeTaskInternalFuture<R2>` | GridClosureProcessor.`callAsync(IgniteClosure<T,R1> job, Collection<? extends T> args, IgniteReducer<R1,R2> rdc, Collection<ClusterNode> nodes)`

### Uses of IgniteClosure in org.apache.ignite.internal.processors.datastreamer

Methods in org.apache.ignite.internal.processors.datastreamer with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`void` | DataStreamerImpl.`ioPolicyResolver(IgniteClosure<ClusterNode,Byte> ioPlcRslvr)`

### Uses of IgniteClosure in org.apache.ignite.internal.processors.platform

Classes in org.apache.ignite.internal.processors.platform that implement IgniteClosure
Modifier and Type | Class and Description
--- | ---
`class` | `PlatformAbstractConfigurationClosure` Abstract interop configuration closure.

Methods in org.apache.ignite.internal.processors.platform that return IgniteClosure
Modifier and Type | Method and Description
--- | ---
`protected abstract IgniteClosure<IgniteConfiguration,IgniteConfiguration>` | PlatformAbstractBootstrap.`closure(long envPtr)` Get configuration transformer closure.

### Uses of IgniteClosure in org.apache.ignite.internal.processors.platform.compute

Methods in org.apache.ignite.internal.processors.platform.compute with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`IgniteInternalFuture` | PlatformCompute.ComputeConvertingFuture.`chain(IgniteClosure doneCb)` Make a chained future to convert result of this future (when complete) into a new format.

### Uses of IgniteClosure in org.apache.ignite.internal.processors.platform.cpp

Classes in org.apache.ignite.internal.processors.platform.cpp that implement IgniteClosure
Modifier and Type | Class and Description
--- | ---
`class` | `PlatformCppConfigurationClosure` Interop CPP configuration closure.

### Uses of IgniteClosure in org.apache.ignite.internal.processors.platform.dotnet

Classes in org.apache.ignite.internal.processors.platform.dotnet that implement IgniteClosure
Modifier and Type | Class and Description
--- | ---
`class` | `PlatformDotNetConfigurationClosure` Closure to apply dot net configuration.

### Uses of IgniteClosure in org.apache.ignite.internal.util

Methods in org.apache.ignite.internal.util that return IgniteClosure
Modifier and Type | Method and Description
--- | ---
`static IgniteClosure<UUID,ClusterNode>` | IgniteUtils.`id2Node(GridKernalContext ctx)`

### Uses of IgniteClosure in org.apache.ignite.internal.util.future

Methods in org.apache.ignite.internal.util.future with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T> IgniteFuture<T>` | IgniteFutureImpl.`chain(IgniteClosure<? super IgniteFuture<V>,T> doneCb)` Make a chained future to convert result of this future (when complete) into a new format.
`<T> IgniteInternalFuture<T>` | GridFutureAdapter.`chain(IgniteClosure<? super IgniteInternalFuture<R>,T> doneCb)` Make a chained future to convert result of this future (when complete) into a new format.
`<R> IgniteInternalFuture<R>` | GridFinishedFuture.`chain(IgniteClosure<? super IgniteInternalFuture<T>,R> doneCb)` Make a chained future to convert result of this future (when complete) into a new format.
`protected <T> IgniteInternalFuture<T>` | IgniteFutureImpl.`chainInternal(IgniteClosure<? super IgniteFuture<V>,T> doneCb)`

Constructors in org.apache.ignite.internal.util.future with parameters of type IgniteClosure
Constructor and Description
`GridFutureChainListener(GridFutureAdapter<R> fut, IgniteClosure<? super IgniteInternalFuture<T>,R> doneCb)` Constructs chain listener.

### Uses of IgniteClosure in org.apache.ignite.internal.util.lang

Classes in org.apache.ignite.internal.util.lang that implement IgniteClosure
Modifier and Type | Class and Description
--- | ---
`class` | `IgniteClosureX<E,R>` Convenient closure subclass that allows for thrown grid exception.

Methods in org.apache.ignite.internal.util.lang that return IgniteClosure
Modifier and Type | Method and Description
--- | ---
`static <K,V> IgniteClosure<javax.cache.Cache.Entry<K,V>,V>` | GridFunc.`cacheEntry2Get()` Gets closure that returns value for an entry.
`static <K,V> IgniteClosure<javax.cache.Cache.Entry<K,V>,K>` | GridFunc.`cacheEntry2Key()` Gets closure that returns key for cache entry.
`static <T> IgniteClosure<T,T>` | GridFunc.`identity()` Gets identity closure, i.e. the closure that returns its variable value.
`static IgniteClosure<ClusterNode,UUID>` | GridFunc.`node2id()` Gets closure which converts node to node ID.
`static <T> IgniteClosure<T,String>` | GridFunc.`string()` Deprecated.

Methods in org.apache.ignite.internal.util.lang with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`static <T,R> IgniteOutClosure<R>` | GridFunc.`curry(IgniteClosure<? super T,R> f, T e)` Deprecated.
`static <V,Y> Y` | GridFunc.`find(Iterable<? extends V> c, Y dfltVal, IgniteClosure<? super V,Y> f, IgnitePredicate<? super V>... p)` Deprecated.
`static <T1,T2> GridIterator<T2>` | GridFunc.`iterator(Iterable<? extends T1> c, IgniteClosure<? super T1,T2> trans, boolean readOnly, IgnitePredicate<? super T1>... p)` Creates and returns transforming iterator from given collection and optional filtering predicates.
`static <T1,T2> Iterator<T2>` | GridFunc.`iterator(Iterator<? extends T1> c, IgniteClosure<? super T1,T2> trans, boolean readOnly, IgnitePredicate<? super T1>... p)`
`static <X,Y> Collection<Y>` | GridFunc.`transform(Collection<? extends X> c, IgniteClosure<? super X,Y> f)` Transforms one collection to another using provided closure.
`static <X,Y> Collection<Y>` | GridFunc.`transform(X[] c, IgniteClosure<? super X,Y> f)` Deprecated.
`static <T1,T2> List<T2>` | GridFunc.`transformList(Collection<? extends T1> c, IgniteClosure<? super T1,T2> trans, IgnitePredicate<? super T1>... p)` Deprecated.
`static <K0,K extends K0,V0,V extends V0> Map<K,V>` | GridFunc.`viewAsMap(Set<K> c, IgniteClosure<? super K,V> mapClo, IgnitePredicate<? super K>... p)` Read-only map view of a collection.
`static <T1,T2> List<T2>` | GridFunc.`viewListReadOnly(List<? extends T1> c, IgniteClosure<? super T1,T2> trans)` Deprecated.
`static <T1,T2> Collection<T2>` | GridFunc.`viewReadOnly(Collection<? extends T1> c, IgniteClosure<? super T1,T2> trans, IgnitePredicate<? super T1>... p)` Creates read-only light-weight view on given collection with transformation and provided predicates.
`static <K0,K extends K0,V0,V extends V0,V1> Map<K,V1>` | GridFunc.`viewReadOnly(Map<K,V> m, IgniteClosure<V,V1> trans, IgnitePredicate<? super K>... p)` Read-only view on map that supports transformation of values and key filtering.

### Uses of IgniteClosure in org.apache.ignite.internal.util.typedef

Subinterfaces of IgniteClosure in org.apache.ignite.internal.util.typedef
Modifier and Type | Interface and Description
--- | ---
`interface` | `C1<E1,R>` Defines `alias` for `IgniteClosure` by extending it.

Classes in org.apache.ignite.internal.util.typedef that implement IgniteClosure
Modifier and Type | Class and Description
--- | ---
`class` | `CX1<E1,R>` Defines `alias` for `IgniteClosureX` by extending it.

### Uses of IgniteClosure in org.apache.ignite.internal.visor.util

Classes in org.apache.ignite.internal.visor.util that implement IgniteClosure
Modifier and Type | Class and Description
--- | ---
`class` | `VisorEventMapper` Mapper from grid event to Visor data transfer object.

Methods in org.apache.ignite.internal.visor.util with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`static Collection<VisorGridEvent>` | VisorTaskUtils.`collectEvents(Ignite ignite, String evtOrderKey, String evtThrottleCntrKey, boolean all, IgniteClosure<Event,VisorGridEvent> evtMapper)` Grabs local events and detects if events was lost since last poll.
`static Collection<VisorGridEvent>` | VisorTaskUtils.`collectEvents(Ignite ignite, String evtOrderKey, String evtThrottleCntrKey, int[] evtTypes, IgniteClosure<Event,VisorGridEvent> evtMapper)` Grabs local events and detects if events was lost since last poll.

### Uses of IgniteClosure in org.apache.ignite.lang

Methods in org.apache.ignite.lang with parameters of type IgniteClosure
Modifier and Type | Method and Description
--- | ---
`<T> IgniteFuture<T>` | IgniteFuture.`chain(IgniteClosure<? super IgniteFuture<V>,T> doneCb)` Make a chained future to convert result of this future (when complete) into a new format.

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.8.0
Release Date | : December 5 2016