Class GridAbsClosureX
- java.lang.Object
-
- org.apache.ignite.internal.util.lang.GridAbsClosure
-
- org.apache.ignite.internal.util.lang.GridAbsClosureX
-
- All Implemented Interfaces:
Serializable,Runnable,IgniteRunnable
- Direct Known Subclasses:
CAX
public abstract class GridAbsClosureX extends GridAbsClosure
Convenient abs-closure subclass that allows for thrown grid exception. This class implementsapply()method that callsapplyx()method and properly wrapsIgniteCheckedExceptionintoGridClosureExceptioninstance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridAbsClosureX()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidapply()Absolute closure body.abstract voidapplyx()Closure body that can throwIgniteCheckedException.-
Methods inherited from class org.apache.ignite.internal.util.lang.GridAbsClosure
run
-
-
-
-
Method Detail
-
apply
public void apply()
Absolute closure body.- Specified by:
applyin classGridAbsClosure
-
applyx
public abstract void applyx() throws IgniteCheckedExceptionClosure body that can throwIgniteCheckedException.- Throws:
IgniteCheckedException- Thrown in case of any error condition inside of the closure.
-
-