Uses of Interface
org.apache.ignite.lang.IgniteClosure
-
-
Uses of IgniteClosure in org.apache.ignite.internal
Methods in org.apache.ignite.internal with parameters of type IgniteClosure Modifier and Type Method Description <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.<T> IgniteInternalFuture<T>IgniteInternalFuture. chain(IgniteClosure<? super IgniteInternalFuture<R>,T> doneCb, Executor exec)Make a chained future to convert result of this future (when complete) into a new format.<T> IgniteInternalFuture<T>IgniteInternalFuture. chainCompose(IgniteClosure<? super IgniteInternalFuture<R>,IgniteInternalFuture<T>> doneCb)Make a chained future that is completed whendoneCbis executed.<T> IgniteInternalFuture<T>IgniteInternalFuture. chainCompose(IgniteClosure<? super IgniteInternalFuture<R>,IgniteInternalFuture<T>> doneCb, Executor exec)Make a chained future that is completed whendoneCbis executed. -
Uses of IgniteClosure in org.apache.ignite.internal.util.lang
Methods in org.apache.ignite.internal.util.lang that return IgniteClosure Modifier and Type Method Description static <K,V>
IgniteClosure<javax.cache.Cache.Entry<K,V>,V>GridFunc. cacheEntry2Get()Gets closure that returns value for an entry.static <T> IgniteClosure<T,T>GridFunc. identity()Gets identity closure, i.e. the closure that returns its variable value.Methods in org.apache.ignite.internal.util.lang with parameters of type IgniteClosure Modifier and Type Method Description static <T1,T2>
GridIterator<T2>GridFunc. iterator(Iterable<? extends T1> c, IgniteClosure<? super T1,T2> trans, boolean readOnly, @Nullable 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, @Nullable 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 <K0,K extends K0,V0,V extends V0>
Map<K,V>GridFunc. viewAsMap(@Nullable Set<K> c, IgniteClosure<? super K,V> mapClo, @Nullable IgnitePredicate<? super K>... p)Read-only map view of a collection.static <T1,T2>
Collection<T2>GridFunc. viewReadOnly(@Nullable Collection<? extends T1> c, IgniteClosure<? super T1,T2> trans, @Nullable 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(@Nullable Map<K,V> m, IgniteClosure<V,V1> trans, @Nullable 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.lang.gridfunc
Classes in org.apache.ignite.internal.util.lang.gridfunc that implement IgniteClosure Modifier and Type Class Description classCacheEntryGetValueClosureCache entry to get-value transformer closure.classIdentityClosureIdentity closure.Constructors in org.apache.ignite.internal.util.lang.gridfunc with parameters of type IgniteClosure Constructor Description PredicateSetView(Set<K> set, IgniteClosure<? super K,V> clo, IgnitePredicate<? super K>... preds)TransformCollectionView(Collection<? extends T2> col, IgniteClosure<? super T2,T1> clos, IgnitePredicate<? super T2>... preds)TransformFilteringIterator(Iterator<? extends T1> iter, IgniteClosure<? super T1,T2> clos, boolean readOnly, IgnitePredicate<? super T1>... preds)TransformMapView(Map<K,V> map, IgniteClosure<V,V1> clos, IgnitePredicate<? super K>... preds) -
Uses of IgniteClosure in org.apache.ignite.internal.util.typedef
Subinterfaces of IgniteClosure in org.apache.ignite.internal.util.typedef Modifier and Type Interface Description interfaceC1<E1,R>DefinesaliasforIgniteClosureby extending it. -
Uses of IgniteClosure in org.apache.ignite.lang
Methods in org.apache.ignite.lang with parameters of type IgniteClosure Modifier and Type Method 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.<T> IgniteFuture<T>IgniteFuture. chainAsync(IgniteClosure<? super IgniteFuture<V>,T> doneCb, Executor exec)Make a chained future to convert result of this future (when complete) into a new format.
-