类 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 EachExecutionVertexgenerates some PhysicalVertex. And the number of PhysicalVertex equals theExecutionVertex#getParallelism().
-
-
字段概要
字段 修饰符和类型 字段 说明 booleanisRunning
-
构造器概要
构造器 构造器 说明 PhysicalVertex(int subTaskGroupIndex, @NonNull ExecutorService executorService, int parallelism, @NonNull TaskGroupDefaultImpl taskGroup, @NonNull com.hazelcast.flakeidgen.FlakeIdGenerator flakeIdGenerator, int pipelineId, int totalPipelineNum, Set<URL> pluginJarsUrls, Set<org.apache.seatunnel.engine.core.job.ConnectorJarIdentifier> connectorJarIdentifiers, @NonNull org.apache.seatunnel.engine.core.job.JobImmutableInformation jobImmutableInformation, long initializationTimestamp, @NonNull com.hazelcast.spi.impl.NodeEngine nodeEngine, @NonNull com.hazelcast.map.IMap runningJobStateIMap, @NonNull com.hazelcast.map.IMap runningJobStateTimestampsIMap)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcancel()TaskDeployStatedeploy(@NonNull SlotProfile slotProfile)com.hazelcast.cluster.AddressgetCurrentExecutionAddress()ExecutionStategetExecutionState()StringgetTaskFullName()TaskGroupgetTaskGroup()TaskGroupLocationgetTaskGroupLocation()org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<TaskExecutionState>initStateFuture()voidmakeTaskGroupDeploy()voidmakeTaskGroupFailing(Throwable err)voidreset()voidrestoreExecutionState()voidsetJobMaster(JobMaster jobMaster)voidstartPhysicalVertex()voidstateProcess()voidstopPhysicalVertex()voidupdateStateByExecutionService(TaskExecutionState taskExecutionState)voidupdateTaskState(@NonNull ExecutionState targetState)
-
-
-
构造器详细资料
-
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()
-
deploy
public TaskDeployState deploy(@NonNull @NonNull SlotProfile slotProfile)
-
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)
-
-