Package org.apache.ignite.lang
Interface IgniteClosure<E,R>
- 
- Type Parameters:
- E- Type of closure parameter.
- R- Type of the closure return value.
 - All Superinterfaces:
- Serializable
 
 public interface IgniteClosure<E,R> extends Serializable Defines generic closure with one parameter. Closure is a simple executable which accepts a parameter and returns a value.In Ignite closures are mainly used for executing distributed computations on the grid, like in IgniteCompute.apply(IgniteClosure, Object)method.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(E e)Closure body.
 
-