Class OperationResult<R>
java.lang.Object
org.apache.flink.runtime.rest.handler.async.OperationResult<R>
- All Implemented Interfaces:
Serializable
Encapsulates the result of an asynchronous operation. Depending on its
OperationResultStatus, it contains either the actual result (if completed successfully), or the
cause of failure (if it failed), or none of the two (if still in progress).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic <R extends Serializable>
OperationResult<R>static <R extends Serializable>
OperationResult<R>booleanstatic <R extends Serializable>
OperationResult<R>success(R result)