Uses of Class
com.oracle.coherence.concurrent.executor.Result
-
Packages that use Result Package Description com.oracle.coherence.concurrent.executor Classes to allow submission of tasks to the grid for execution.com.oracle.coherence.concurrent.executor.function Various predicates used by the Executor Service. -
-
Uses of Result in com.oracle.coherence.concurrent.executor
Methods in com.oracle.coherence.concurrent.executor that return Result Modifier and Type Method Description static <T> Result<T>
Result. none()
Constructs anResult
representing no value.static <T> Result<T>
Result. of(T value)
Constructs anResult
with a specific value.static Result
Result. throwable(Throwable throwable)
-
Uses of Result in com.oracle.coherence.concurrent.executor.function
Methods in com.oracle.coherence.concurrent.executor.function that return types with arguments of type Result Modifier and Type Method Description static <T> Remote.Predicate<Result<T>>
Predicates. available()
Obtains aRemote.Predicate
that succeeds whenisPresent()
()}.static <T> Remote.Predicate<Result<T>>
Predicates. onException()
Obtains aRemote.Predicate
to ensure that theThrowable
is handled.static <T> Remote.Predicate<Result<T>>
Predicates. onException(Throwable throwable)
Methods in com.oracle.coherence.concurrent.executor.function with parameters of type Result Modifier and Type Method Description boolean
Predicates.IsValuePredicate. test(Result<T> result)
boolean
Predicates.ThrowablePredicate. test(Result<T> result)
-