类 CoordinatorService
java.lang.Object
org.apache.seatunnel.engine.server.CoordinatorService
-
构造器概要
构造器构造器说明CoordinatorService(@NonNull com.hazelcast.spi.impl.NodeEngineImpl nodeEngine, @NonNull SeaTunnelServer seaTunnelServer, org.apache.seatunnel.engine.common.config.EngineConfig engineConfig) -
方法概要
修饰符和类型方法说明org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<Void>cancelJob(long jobId) voidvoidfailedTaskOnMemberRemoved(com.hazelcast.internal.services.MembershipServiceEvent event) org.apache.seatunnel.api.event.EventProcessororg.apache.seatunnel.engine.core.job.JobDAGInfogetJobInfo(long jobId) getJobMaster(Long jobId) org.apache.seatunnel.api.common.metrics.JobMetricsgetJobMetrics(long jobId) org.apache.seatunnel.engine.core.job.JobStatusgetJobStatus(long jobId) Lazy load for resource managerbooleanreturn true if this node is a master node and the coordinator service init finished.voidmemberRemoved(com.hazelcast.internal.services.MembershipServiceEvent event) voidvoidorg.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<Void>savePoint(long jobId) voidshutdown()org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<Void>submitJob(long jobId, com.hazelcast.internal.serialization.Data jobImmutableInformation, boolean isStartWithSavePoint) call by client to submit jobvoidupdateTaskExecutionState(TaskExecutionState taskExecutionState) When TaskGroup ends, it is called byTaskExecutionServiceto notify JobMaster the TaskGroup's state.org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<org.apache.seatunnel.engine.core.job.JobResult>waitForJobComplete(long jobId)
-
构造器详细资料
-
CoordinatorService
public CoordinatorService(@NonNull @NonNull com.hazelcast.spi.impl.NodeEngineImpl nodeEngine, @NonNull @NonNull SeaTunnelServer seaTunnelServer, org.apache.seatunnel.engine.common.config.EngineConfig engineConfig)
-
-
方法详细资料
-
getJobHistoryService
-
getJobMaster
-
getEventProcessor
public org.apache.seatunnel.api.event.EventProcessor getEventProcessor() -
clearCoordinatorService
public void clearCoordinatorService() -
getResourceManager
Lazy load for resource manager -
submitJob
public org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<Void> submitJob(long jobId, com.hazelcast.internal.serialization.Data jobImmutableInformation, boolean isStartWithSavePoint) call by client to submit job -
savePoint
public org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<Void> savePoint(long jobId) -
waitForJobComplete
public org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<org.apache.seatunnel.engine.core.job.JobResult> waitForJobComplete(long jobId) -
cancelJob
public org.apache.seatunnel.engine.common.utils.PassiveCompletableFuture<Void> cancelJob(long jobId) -
getJobStatus
public org.apache.seatunnel.engine.core.job.JobStatus getJobStatus(long jobId) -
getJobMetrics
public org.apache.seatunnel.api.common.metrics.JobMetrics getJobMetrics(long jobId) -
getRunningJobMetrics
-
getJobInfo
public org.apache.seatunnel.engine.core.job.JobDAGInfo getJobInfo(long jobId) -
updateTaskExecutionState
When TaskGroup ends, it is called byTaskExecutionServiceto notify JobMaster the TaskGroup's state. -
shutdown
public void shutdown() -
isCoordinatorActive
public boolean isCoordinatorActive()return true if this node is a master node and the coordinator service init finished. -
failedTaskOnMemberRemoved
public void failedTaskOnMemberRemoved(com.hazelcast.internal.services.MembershipServiceEvent event) -
memberRemoved
public void memberRemoved(com.hazelcast.internal.services.MembershipServiceEvent event) -
printExecutionInfo
public void printExecutionInfo() -
printJobDetailInfo
public void printJobDetailInfo() -
getJobCountMetrics
-
getThreadPoolStatusMetrics
-
getConnectorPackageService
-