Class AsynchronousOperationResult<V>
java.lang.Object
org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<V>
- Type Parameters:
V- type of the result value
- All Implemented Interfaces:
AsynchronouslyCreatedResource<V>,ResponseBody
public class AsynchronousOperationResult<V>
extends Object
implements AsynchronouslyCreatedResource<V>
Result of an asynchronous operation.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> AsynchronousOperationResult<V>completed(V value) static <V> AsynchronousOperationResult<V>Returns the status of the resource creation.resource()Returns the resource if it is available,nullotherwise.
-
Field Details
-
FIELD_NAME_OPERATION
- See Also:
-
-
Method Details
-
queueStatus
Description copied from interface:AsynchronouslyCreatedResourceReturns the status of the resource creation.- Specified by:
queueStatusin interfaceAsynchronouslyCreatedResource<V>
-
resource
Description copied from interface:AsynchronouslyCreatedResourceReturns the resource if it is available,nullotherwise.- Specified by:
resourcein interfaceAsynchronouslyCreatedResource<V>
-
inProgress
-
completed
-