Class SubtaskMetricsHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.metrics.AbstractMetricsHeaders<SubtaskMetricsMessageParameters>
-
- org.apache.flink.runtime.rest.messages.job.metrics.SubtaskMetricsHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification
,MessageHeaders<EmptyRequestBody,MetricCollectionResponseBody,SubtaskMetricsMessageParameters>
,RuntimeMessageHeaders<EmptyRequestBody,MetricCollectionResponseBody,SubtaskMetricsMessageParameters>
,UntypedResponseMessageHeaders<EmptyRequestBody,SubtaskMetricsMessageParameters>
public final class SubtaskMetricsHeaders extends AbstractMetricsHeaders<SubtaskMetricsMessageParameters>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Returns the description for this header.static SubtaskMetricsHeaders
getInstance()
String
getTargetRestEndpointURL()
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.SubtaskMetricsMessageParameters
getUnresolvedMessageParameters()
Returns a newMessageParameters
object.-
Methods inherited from class org.apache.flink.runtime.rest.messages.job.metrics.AbstractMetricsHeaders
getHttpMethod, getRequestClass, getResponseClass, getResponseStatusCode
-
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, getResponseTypeParameters, operationId
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersions
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
-
-
-
Method Detail
-
getUnresolvedMessageParameters
public SubtaskMetricsMessageParameters getUnresolvedMessageParameters()
Description copied from interface:UntypedResponseMessageHeaders
Returns a newMessageParameters
object.- Specified by:
getUnresolvedMessageParameters
in interfaceUntypedResponseMessageHeaders<EmptyRequestBody,SubtaskMetricsMessageParameters>
- Specified by:
getUnresolvedMessageParameters
in classAbstractMetricsHeaders<SubtaskMetricsMessageParameters>
- Returns:
- new message parameters object
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
Description copied from interface:RestHandlerSpecification
Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid
.- Specified by:
getTargetRestEndpointURL
in interfaceRestHandlerSpecification
- Specified by:
getTargetRestEndpointURL
in classAbstractMetricsHeaders<SubtaskMetricsMessageParameters>
- Returns:
- endpoint url that this request should be sent to
-
getInstance
public static SubtaskMetricsHeaders getInstance()
-
getDescription
public String getDescription()
Description copied from interface:MessageHeaders
Returns the description for this header.- Returns:
- description for the header
-
-