类 PhysicalVertex

java.lang.Object
org.apache.seatunnel.engine.server.dag.physical.PhysicalVertex

public class PhysicalVertex extends Object
PhysicalVertex is responsible for the scheduling and execution of a single task parallel Each ExecutionVertex generates some PhysicalVertex. And the number of PhysicalVertex equals the ExecutionVertex#getParallelism().
  • 字段详细资料

    • isRunning

      public volatile boolean isRunning
  • 构造器详细资料

    • PhysicalVertex

      public PhysicalVertex(int subTaskGroupIndex, int parallelism, @NonNull @NonNull TaskGroupDefaultImpl taskGroup, @NonNull @NonNull com.hazelcast.flakeidgen.FlakeIdGenerator flakeIdGenerator, int pipelineId, int totalPipelineNum, List<Set<URL>> pluginJarsUrls, List<Set<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier>> connectorJarIdentifiers, @NonNull @NonNull org.apache.seatunnel.engine.core.job.JobImmutableInformation jobImmutableInformation, long initializationTimestamp, @NonNull @NonNull com.hazelcast.spi.impl.NodeEngine nodeEngine, @NonNull @NonNull com.hazelcast.map.IMap runningJobStateIMap, @NonNull @NonNull com.hazelcast.map.IMap runningJobStateTimestampsIMap)
  • 方法详细资料

    • initStateFuture

      public org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<TaskExecutionState> initStateFuture()
    • restoreExecutionState

      public void restoreExecutionState()
    • makeTaskGroupDeploy

      public void makeTaskGroupDeploy()
    • deploy

      public TaskDeployState deploy(@NonNull @NonNull SlotProfile slotProfile)
    • getTaskGroupImmutableInformation

      public TaskGroupImmutableInformation getTaskGroupImmutableInformation()
    • getTaskGroup

      public TaskGroup getTaskGroup()
    • updateTaskState

      public void updateTaskState(@NonNull @NonNull ExecutionState targetState)
    • cancel

      public void cancel()
    • getExecutionState

      public ExecutionState getExecutionState()
    • reset

      public void reset()
    • getTaskFullName

      public String getTaskFullName()
    • updateStateByExecutionService

      public void updateStateByExecutionService(TaskExecutionState taskExecutionState)
    • getCurrentExecutionAddress

      public com.hazelcast.cluster.Address getCurrentExecutionAddress()
    • getTaskGroupLocation

      public TaskGroupLocation getTaskGroupLocation()
    • setJobMaster

      public void setJobMaster(JobMaster jobMaster)
    • startPhysicalVertex

      public void startPhysicalVertex()
    • stopPhysicalVertex

      public void stopPhysicalVertex()
    • stateProcess

      public void stateProcess()
    • makeTaskGroupFailing

      public void makeTaskGroupFailing(Throwable err)