public class WorkflowPersistenceEngine
extends org.apache.linkis.entrance.persistence.AbstractPersistenceEngine
| 构造器和说明 |
|---|
WorkflowPersistenceEngine() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
flush() |
void |
persist(org.apache.linkis.governance.common.entity.job.JobRequest jobRequest) |
void |
persist(org.apache.linkis.governance.common.entity.job.SubJobInfo subjobInfo) |
org.apache.linkis.protocol.task.Task[] |
readAll(String instance) |
org.apache.linkis.governance.common.entity.job.SubJobDetail |
retrieveJobDetailReq(Long jobDetailId) |
org.apache.linkis.governance.common.entity.job.JobRequest |
retrieveJobReq(Long jobGroupId) |
void |
updateIfNeeded(org.apache.linkis.governance.common.entity.job.JobRequest jobRequest) |
void |
updateIfNeeded(org.apache.linkis.governance.common.entity.job.SubJobInfo subJobInfo) |
public void persist(org.apache.linkis.governance.common.entity.job.JobRequest jobRequest)
throws org.apache.linkis.entrance.exception.QueryFailedException,
org.apache.linkis.entrance.exception.EntranceIllegalParamException,
org.apache.linkis.entrance.exception.EntranceRPCException
org.apache.linkis.entrance.exception.QueryFailedExceptionorg.apache.linkis.entrance.exception.EntranceIllegalParamExceptionorg.apache.linkis.entrance.exception.EntranceRPCExceptionpublic void persist(org.apache.linkis.governance.common.entity.job.SubJobInfo subjobInfo)
throws org.apache.linkis.common.exception.ErrorException
org.apache.linkis.common.exception.ErrorExceptionpublic void updateIfNeeded(org.apache.linkis.governance.common.entity.job.JobRequest jobRequest)
throws org.apache.linkis.entrance.exception.EntranceRPCException,
org.apache.linkis.entrance.exception.EntranceIllegalParamException
org.apache.linkis.entrance.exception.EntranceRPCExceptionorg.apache.linkis.entrance.exception.EntranceIllegalParamExceptionpublic void updateIfNeeded(org.apache.linkis.governance.common.entity.job.SubJobInfo subJobInfo)
throws org.apache.linkis.common.exception.ErrorException
org.apache.linkis.common.exception.ErrorExceptionpublic org.apache.linkis.protocol.task.Task[] readAll(String instance) throws org.apache.linkis.entrance.exception.EntranceIllegalParamException, org.apache.linkis.entrance.exception.EntranceRPCException, org.apache.linkis.entrance.exception.QueryFailedException
org.apache.linkis.entrance.exception.EntranceIllegalParamExceptionorg.apache.linkis.entrance.exception.EntranceRPCExceptionorg.apache.linkis.entrance.exception.QueryFailedExceptionpublic org.apache.linkis.governance.common.entity.job.JobRequest retrieveJobReq(Long jobGroupId) throws org.apache.linkis.common.exception.ErrorException
org.apache.linkis.common.exception.ErrorExceptionpublic org.apache.linkis.governance.common.entity.job.SubJobDetail retrieveJobDetailReq(Long jobDetailId) throws org.apache.linkis.common.exception.ErrorException
org.apache.linkis.common.exception.ErrorExceptionpublic void close()
throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.