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