Class AsynchronousOperationStatusMessageHeaders<V,M extends MessageParameters>
java.lang.Object
org.apache.flink.runtime.rest.handler.async.AsynchronousOperationStatusMessageHeaders<V,M>
- Type Parameters:
V- type of the operation resultM- type of the message parameters
- All Implemented Interfaces:
RestHandlerSpecification,MessageHeaders<EmptyRequestBody,,AsynchronousOperationResult<V>, M> RuntimeMessageHeaders<EmptyRequestBody,,AsynchronousOperationResult<V>, M> UntypedResponseMessageHeaders<EmptyRequestBody,M>
- Direct Known Subclasses:
CheckpointStatusHeaders,ClusterDataSetDeleteStatusHeaders,RescalingStatusHeaders,SavepointDisposalStatusHeaders,SavepointStatusHeaders
public abstract class AsynchronousOperationStatusMessageHeaders<V,M extends MessageParameters>
extends Object
implements RuntimeMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<V>,M>
Message headers for the status polling of an asynchronous operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the class of the response message.Collection<Class<?>>Returns the collection of type parameters for the response type.Returns the class of the value wrapped in theAsynchronousOperationResult.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getDescription, getResponseStatusCode, operationIdMethods inherited from interface org.apache.flink.runtime.rest.handler.RestHandlerSpecification
getHttpMethod, getTargetRestEndpointURLMethods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersionsMethods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads, getRequestClass, getUnresolvedMessageParameters
-
Constructor Details
-
AsynchronousOperationStatusMessageHeaders
public AsynchronousOperationStatusMessageHeaders()
-
-
Method Details
-
getValueClass
Returns the class of the value wrapped in theAsynchronousOperationResult.- Returns:
- value class
-
getResponseClass
Description copied from interface:MessageHeadersReturns the class of the response message.- Specified by:
getResponseClassin interfaceMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<V>, M extends MessageParameters> - Returns:
- class of the response message
-
getResponseTypeParameters
Description copied from interface:MessageHeadersReturns the collection of type parameters for the response type.- Specified by:
getResponseTypeParametersin interfaceMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<V>, M extends MessageParameters> - Returns:
- Collection of type parameters for the response type
-