@Service public class NettyExecutorManager extends AbstractExecutorManager<Boolean>
| 构造器和说明 |
|---|
NettyExecutorManager()
constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doExecute(org.apache.dolphinscheduler.remote.utils.Host host,
org.apache.dolphinscheduler.remote.command.Command command)
execute logic
|
Boolean |
execute(ExecutionContext context)
execute logic
|
void |
executeDirectly(ExecutionContext context)
execute task directly without retry
|
org.apache.dolphinscheduler.remote.NettyRemotingClient |
getNettyRemotingClient() |
void |
init() |
afterExecute, beforeExecute@PostConstruct public void init()
public Boolean execute(ExecutionContext context) throws ExecuteException
context - contextExecuteException - if error throws ExecuteExceptionpublic void executeDirectly(ExecutionContext context) throws ExecuteException
ExecutorManagercontext - contextExecuteException - if error throws ExecuteExceptionpublic void doExecute(org.apache.dolphinscheduler.remote.utils.Host host,
org.apache.dolphinscheduler.remote.command.Command command)
throws ExecuteException
host - hostcommand - commandExecuteException - if error throws ExecuteExceptionpublic org.apache.dolphinscheduler.remote.NettyRemotingClient getNettyRemotingClient()
Copyright © 2022 The Apache Software Foundation. All rights reserved.