类 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,
                              @NonNull
                              @NonNull ExecutorService executorService,
                              int parallelism,
                              @NonNull
                              @NonNull TaskGroupDefaultImpl taskGroup,
                              @NonNull
                              @NonNull com.hazelcast.flakeidgen.FlakeIdGenerator flakeIdGenerator,
                              int pipelineId,
                              int totalPipelineNum,
                              Set<URL> pluginJarsUrls,
                              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()
      • getTaskGroup

        public TaskGroup getTaskGroup()
      • updateTaskState

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

        public void cancel()
      • reset

        public void reset()
      • getTaskFullName

        public String getTaskFullName()
      • updateStateByExecutionService

        public void updateStateByExecutionService​(TaskExecutionState taskExecutionState)
      • getCurrentExecutionAddress

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

        public void setJobMaster​(JobMaster jobMaster)
      • startPhysicalVertex

        public void startPhysicalVertex()
      • stopPhysicalVertex

        public void stopPhysicalVertex()
      • stateProcess

        public void stateProcess()
      • makeTaskGroupFailing

        public void makeTaskGroupFailing​(Throwable err)