public interface JobMasterServiceProcessFactory
JobMasterServiceProcess
.Modifier and Type | Method and Description |
---|---|
JobMasterServiceProcess |
create(UUID leaderSessionId)
Create a new
JobMasterServiceProcess for the given leaderSessionId. |
ArchivedExecutionGraph |
createArchivedExecutionGraph(JobStatus jobStatus,
Throwable cause)
Creates an
ArchivedExecutionGraph for the job for which this factory creates JobMasterServiceProcess with the given jobStatus and failure cause. |
JobID |
getJobId()
Gets the
JobID of the job for which this factory creates JobMasterServiceProcess . |
JobMasterServiceProcess create(UUID leaderSessionId)
JobMasterServiceProcess
for the given leaderSessionId.leaderSessionId
- leaderSessionId for which to create a JobMasterServiceProcess
JobMasterServiceProcess
JobID getJobId()
JobID
of the job for which this factory creates JobMasterServiceProcess
.ArchivedExecutionGraph createArchivedExecutionGraph(JobStatus jobStatus, @Nullable Throwable cause)
ArchivedExecutionGraph
for the job for which this factory creates JobMasterServiceProcess
with the given jobStatus and failure cause.jobStatus
- jobStatus which the ArchivedExecutionGraph
should havecause
- cause which the ArchivedExecutionGraph
should be initialized with; null
iff no failure causeArchivedExecutionGraph
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.