org.apache.flink.runtime.rest.messages.json.JobVertexIDDeserializer Java Examples
The following examples show how to use
org.apache.flink.runtime.rest.messages.json.JobVertexIDDeserializer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JobDetailsInfo.java From Flink-CEPplus with Apache License 2.0 | 6 votes |
@JsonCreator public JobVertexDetailsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_JOB_VERTEX_ID) JobVertexID jobVertexID, @JsonProperty(FIELD_NAME_JOB_VERTEX_NAME) String name, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_JOB_VERTEX_STATE) ExecutionState executionState, @JsonProperty(FIELD_NAME_JOB_VERTEX_START_TIME) long startTime, @JsonProperty(FIELD_NAME_JOB_VERTEX_END_TIME) long endTime, @JsonProperty(FIELD_NAME_JOB_VERTEX_DURATION) long duration, @JsonProperty(FIELD_NAME_TASKS_PER_STATE) Map<ExecutionState, Integer> tasksPerState, @JsonProperty(FIELD_NAME_JOB_VERTEX_METRICS) IOMetricsInfo jobVertexMetrics) { this.jobVertexID = Preconditions.checkNotNull(jobVertexID); this.name = Preconditions.checkNotNull(name); this.parallelism = parallelism; this.executionState = Preconditions.checkNotNull(executionState); this.startTime = startTime; this.endTime = endTime; this.duration = duration; this.tasksPerState = Preconditions.checkNotNull(tasksPerState); this.jobVertexMetrics = Preconditions.checkNotNull(jobVertexMetrics); }
Example #2
Source File: JobDetailsInfo.java From flink with Apache License 2.0 | 6 votes |
@JsonCreator public JobVertexDetailsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_JOB_VERTEX_ID) JobVertexID jobVertexID, @JsonProperty(FIELD_NAME_JOB_VERTEX_NAME) String name, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_JOB_VERTEX_STATE) ExecutionState executionState, @JsonProperty(FIELD_NAME_JOB_VERTEX_START_TIME) long startTime, @JsonProperty(FIELD_NAME_JOB_VERTEX_END_TIME) long endTime, @JsonProperty(FIELD_NAME_JOB_VERTEX_DURATION) long duration, @JsonProperty(FIELD_NAME_TASKS_PER_STATE) Map<ExecutionState, Integer> tasksPerState, @JsonProperty(FIELD_NAME_JOB_VERTEX_METRICS) IOMetricsInfo jobVertexMetrics) { this.jobVertexID = Preconditions.checkNotNull(jobVertexID); this.name = Preconditions.checkNotNull(name); this.parallelism = parallelism; this.executionState = Preconditions.checkNotNull(executionState); this.startTime = startTime; this.endTime = endTime; this.duration = duration; this.tasksPerState = Preconditions.checkNotNull(tasksPerState); this.jobVertexMetrics = Preconditions.checkNotNull(jobVertexMetrics); }
Example #3
Source File: JobDetailsInfo.java From flink with Apache License 2.0 | 6 votes |
@JsonCreator public JobVertexDetailsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_JOB_VERTEX_ID) JobVertexID jobVertexID, @JsonProperty(FIELD_NAME_JOB_VERTEX_NAME) String name, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_JOB_VERTEX_STATE) ExecutionState executionState, @JsonProperty(FIELD_NAME_JOB_VERTEX_START_TIME) long startTime, @JsonProperty(FIELD_NAME_JOB_VERTEX_END_TIME) long endTime, @JsonProperty(FIELD_NAME_JOB_VERTEX_DURATION) long duration, @JsonProperty(FIELD_NAME_TASKS_PER_STATE) Map<ExecutionState, Integer> tasksPerState, @JsonProperty(FIELD_NAME_JOB_VERTEX_METRICS) IOMetricsInfo jobVertexMetrics) { this.jobVertexID = Preconditions.checkNotNull(jobVertexID); this.name = Preconditions.checkNotNull(name); this.parallelism = parallelism; this.executionState = Preconditions.checkNotNull(executionState); this.startTime = startTime; this.endTime = endTime; this.duration = duration; this.tasksPerState = Preconditions.checkNotNull(tasksPerState); this.jobVertexMetrics = Preconditions.checkNotNull(jobVertexMetrics); }
Example #4
Source File: JobVertexDetailsInfo.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@JsonCreator public JobVertexDetailsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_VERTEX_ID) JobVertexID id, @JsonProperty(FIELD_NAME_VERTEX_NAME) String name, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_NOW) long now, @JsonProperty(FIELD_NAME_SUBTASKS) List<VertexTaskDetail> subtasks) { this.id = checkNotNull(id); this.name = checkNotNull(name); this.parallelism = parallelism; this.now = now; this.subtasks = checkNotNull(subtasks); }
Example #5
Source File: SubtasksAllAccumulatorsInfo.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@JsonCreator public SubtasksAllAccumulatorsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_JOB_VERTEX_ID) JobVertexID jobVertexId, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_SUBTASKS) Collection<SubtaskAccumulatorsInfo> subtaskAccumulatorsInfos) { this.jobVertexId = Preconditions.checkNotNull(jobVertexId); this.parallelism = parallelism; this.subtaskAccumulatorsInfos = Preconditions.checkNotNull(subtaskAccumulatorsInfos); }
Example #6
Source File: JobVertexTaskManagersInfo.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
@JsonCreator public JobVertexTaskManagersInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(VERTEX_TASK_FIELD_ID) JobVertexID jobVertexID, @JsonProperty(VERTEX_TASK_FIELD_NAME) String name, @JsonProperty(VERTEX_TASK_FIELD_NOW) long now, @JsonProperty(VERTEX_TASK_FIELD_TASK_MANAGERS) Collection<TaskManagersInfo> taskManagerInfos) { this.jobVertexID = checkNotNull(jobVertexID); this.name = checkNotNull(name); this.now = now; this.taskManagerInfos = checkNotNull(taskManagerInfos); }
Example #7
Source File: JobVertexDetailsInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public JobVertexDetailsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_VERTEX_ID) JobVertexID id, @JsonProperty(FIELD_NAME_VERTEX_NAME) String name, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_NOW) long now, @JsonProperty(FIELD_NAME_SUBTASKS) List<VertexTaskDetail> subtasks) { this.id = checkNotNull(id); this.name = checkNotNull(name); this.parallelism = parallelism; this.now = now; this.subtasks = checkNotNull(subtasks); }
Example #8
Source File: SubtasksAllAccumulatorsInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public SubtasksAllAccumulatorsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_JOB_VERTEX_ID) JobVertexID jobVertexId, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_SUBTASKS) Collection<SubtaskAccumulatorsInfo> subtaskAccumulatorsInfos) { this.jobVertexId = Preconditions.checkNotNull(jobVertexId); this.parallelism = parallelism; this.subtaskAccumulatorsInfos = Preconditions.checkNotNull(subtaskAccumulatorsInfos); }
Example #9
Source File: JobVertexTaskManagersInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public JobVertexTaskManagersInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(VERTEX_TASK_FIELD_ID) JobVertexID jobVertexID, @JsonProperty(VERTEX_TASK_FIELD_NAME) String name, @JsonProperty(VERTEX_TASK_FIELD_NOW) long now, @JsonProperty(VERTEX_TASK_FIELD_TASK_MANAGERS) Collection<TaskManagersInfo> taskManagerInfos) { this.jobVertexID = checkNotNull(jobVertexID); this.name = checkNotNull(name); this.now = now; this.taskManagerInfos = checkNotNull(taskManagerInfos); }
Example #10
Source File: JobVertexDetailsInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public JobVertexDetailsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_VERTEX_ID) JobVertexID id, @JsonProperty(FIELD_NAME_VERTEX_NAME) String name, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_NOW) long now, @JsonProperty(FIELD_NAME_SUBTASKS) List<SubtaskExecutionAttemptDetailsInfo> subtasks) { this.id = checkNotNull(id); this.name = checkNotNull(name); this.parallelism = parallelism; this.now = now; this.subtasks = checkNotNull(subtasks); }
Example #11
Source File: SubtasksAllAccumulatorsInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public SubtasksAllAccumulatorsInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(FIELD_NAME_JOB_VERTEX_ID) JobVertexID jobVertexId, @JsonProperty(FIELD_NAME_PARALLELISM) int parallelism, @JsonProperty(FIELD_NAME_SUBTASKS) Collection<SubtaskAccumulatorsInfo> subtaskAccumulatorsInfos) { this.jobVertexId = Preconditions.checkNotNull(jobVertexId); this.parallelism = parallelism; this.subtaskAccumulatorsInfos = Preconditions.checkNotNull(subtaskAccumulatorsInfos); }
Example #12
Source File: JobVertexTaskManagersInfo.java From flink with Apache License 2.0 | 5 votes |
@JsonCreator public JobVertexTaskManagersInfo( @JsonDeserialize(using = JobVertexIDDeserializer.class) @JsonProperty(VERTEX_TASK_FIELD_ID) JobVertexID jobVertexID, @JsonProperty(VERTEX_TASK_FIELD_NAME) String name, @JsonProperty(VERTEX_TASK_FIELD_NOW) long now, @JsonProperty(VERTEX_TASK_FIELD_TASK_MANAGERS) Collection<TaskManagersInfo> taskManagerInfos) { this.jobVertexID = checkNotNull(jobVertexID); this.name = checkNotNull(name); this.now = now; this.taskManagerInfos = checkNotNull(taskManagerInfos); }