Tabnine Logo
TaskInfo.getAttemptNumber
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttemptNumber
method
in
org.apache.flink.api.common.TaskInfo

Best Java code snippets using org.apache.flink.api.common.TaskInfo.getAttemptNumber (Showing top 4 results out of 315)

origin: apache/flink

@Override
public int getAttemptNumber() {
  return taskInfo.getAttemptNumber();
}
origin: org.apache.flink/flink-core

@Override
public int getAttemptNumber() {
  return taskInfo.getAttemptNumber();
}
origin: com.alibaba.blink/flink-core

@Override
public int getAttemptNumber() {
  return taskInfo.getAttemptNumber();
}
origin: com.alibaba.blink/flink-runtime

new TaskExecutionStatus(
  currentTask.getExecutionState(),
  currentTask.getTaskInfo().getAttemptNumber(),
  currentTask.getCreateTimestamp(),
  currentTask.getJobVertexId(),
org.apache.flink.api.commonTaskInfogetAttemptNumber

Javadoc

Gets the attempt number of this parallel subtask. First attempt is numbered 0. The attempt number corresponds to the number of times this task has been restarted(after failure/cancellation) since the job was initially started.

Popular methods of TaskInfo

  • getIndexOfThisSubtask
    Gets the number of this parallel subtask. The numbering starts from 0 and goes up to parallelism-1 (
  • getNumberOfParallelSubtasks
    Gets the parallelism with which the parallel task runs.
  • getTaskNameWithSubtasks
    Returns the name of the task, appended with the subtask indicator, such as "MyTask (3/6)", where 3 w
  • getTaskName
    Returns the name of the task
  • getMaxNumberOfParallelSubtasks
    Gets the max parallelism aka the max number of subtasks.
  • <init>
  • getAllocationIDAsString
    Returns the allocation id for where this task is executed.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Path (java.nio.file)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now