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 Constructor Description AsynchronousOperationStatusMessageHeaders()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Class<AsynchronousOperationResult<V>>
getResponseClass()
Returns the class of the response message.Collection<Class<?>>
getResponseTypeParameters()
Returns the collection of type parameters for the response type.abstract Class<V>
getValueClass()
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, wait
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getDescription, getResponseStatusCode, operationId
-
Methods inherited from interface org.apache.flink.runtime.rest.handler.RestHandlerSpecification
getHttpMethod, getTargetRestEndpointURL
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersions
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads, getRequestClass, getUnresolvedMessageParameters
-
-
-
-
Method Detail
-
getValueClass
public abstract Class<V> getValueClass()
Returns the class of the value wrapped in theAsynchronousOperationResult
.- Returns:
- value class
-
getResponseClass
public Class<AsynchronousOperationResult<V>> getResponseClass()
Description copied from interface:MessageHeaders
Returns the class of the response message.- Specified by:
getResponseClass
in interfaceMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<V>,M extends MessageParameters>
- Returns:
- class of the response message
-
getResponseTypeParameters
public Collection<Class<?>> getResponseTypeParameters()
Description copied from interface:MessageHeaders
Returns the collection of type parameters for the response type.- Specified by:
getResponseTypeParameters
in interfaceMessageHeaders<EmptyRequestBody,AsynchronousOperationResult<V>,M extends MessageParameters>
- Returns:
- Collection of type parameters for the response type
-
-