Class GridAbsPredicateX
- java.lang.Object
-
- org.apache.ignite.internal.util.lang.GridAbsPredicateX
-
- All Implemented Interfaces:
GridAbsPredicate
- Direct Known Subclasses:
PAX
public abstract class GridAbsPredicateX extends Object implements GridAbsPredicate
Convenient predicate subclass that allows for thrown grid exception. This class implementsapply()method that callsapplyx()method and properly wrapsIgniteCheckedExceptionintoGridClosureExceptioninstance.
-
-
Constructor Summary
Constructors Constructor Description GridAbsPredicateX()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanapply()Predicate body.abstract booleanapplyx()Predicate body that can throwIgniteCheckedException.
-
-
-
Method Detail
-
apply
public boolean apply()
Predicate body.- Specified by:
applyin interfaceGridAbsPredicate- Returns:
- Return value.
-
applyx
public abstract boolean applyx() throws IgniteCheckedExceptionPredicate body that can throwIgniteCheckedException.- Returns:
- Return value.
- Throws:
IgniteCheckedException- Thrown in case of any error condition inside of the predicate.
-
-