public abstract class AbstractClientNode<T extends Node> extends AbstractJobNode<T>
Modifier and Type | Field and Description |
---|---|
protected RemotingClientDelegate |
remotingClient |
config, node, registry
Constructor and Description |
---|
AbstractClientNode() |
Modifier and Type | Method and Description |
---|---|
protected abstract com.lts.job.remoting.netty.NettyRequestProcessor |
getDefaultProcessor()
得到默认的处理器
|
protected com.lts.job.remoting.netty.NettyClientConfig |
getNettyClientConfig()
这个子类可以覆盖
|
boolean |
isServerEnable() |
protected void |
nodeStart() |
protected void |
nodeStop() |
void |
setJobInfoSavePath(String jobInfoSavePath) |
void |
setNodeGroup(String nodeGroup)
设置节点组名
|
void |
setWorkThreads(int workThreads) |
addMasterNodeChangeListener, addNodeChangeListener, setClusterName, setInvokeTimeoutMillis, setZookeeperAddress, start, stop
protected RemotingClientDelegate remotingClient
protected void nodeStart()
nodeStart
in class AbstractJobNode<T extends Node>
protected abstract com.lts.job.remoting.netty.NettyRequestProcessor getDefaultProcessor()
protected void nodeStop()
nodeStop
in class AbstractJobNode<T extends Node>
public void setWorkThreads(int workThreads)
public void setNodeGroup(String nodeGroup)
nodeGroup
- public void setJobInfoSavePath(String jobInfoSavePath)
public boolean isServerEnable()
protected com.lts.job.remoting.netty.NettyClientConfig getNettyClientConfig()
Copyright © 2014. All Rights Reserved.