public class CommunicatorConfig extends Object
| 构造器和说明 |
|---|
CommunicatorConfig() |
public static CommunicatorConfig load(String confFile) throws FileNotFoundException, IOException
public static CommunicatorConfig getDefault()
public CommunicatorConfig load(Config conf)
public String getLocator()
public CommunicatorConfig setLocator(String locator)
public int getSyncInvokeTimeout()
public CommunicatorConfig setSyncInvokeTimeout(int syncInvokeTimeout)
public int getAsyncInvokeTimeout()
public CommunicatorConfig setAsyncInvokeTimeout(int asyncInvokeTimeout)
public int getRefreshEndpointInterval()
public CommunicatorConfig setRefreshEndpointInterval(int refreshEndpointInterval)
public String getStat()
public CommunicatorConfig setStat(String stat)
public String getProperty()
public CommunicatorConfig setProperty(String property)
public int getReportInterval()
public CommunicatorConfig setReportInterval(int reportInterval)
public int getSampleRate()
public CommunicatorConfig setSampleRate(int sampleRate)
public int getMaxSampleCount()
public CommunicatorConfig setMaxSampleCount(int maxSampleCount)
@Deprecated public int getSendThread()
@Deprecated public CommunicatorConfig setSendThread(int sendThread)
@Deprecated public int getRecvThread()
@Deprecated public CommunicatorConfig setRecvThread(int recvThread)
@Deprecated public int getAsyncThread()
@Deprecated public CommunicatorConfig setAsyncThread(int asyncThread)
public String getModuleName()
public CommunicatorConfig setModuleName(String moduleName)
public boolean isEnableSet()
public CommunicatorConfig setEnableSet(boolean enableSet)
public String getSetDivision()
public CommunicatorConfig setSetDivision(String setDivision)
public String getSetName()
public String getSetArea()
public String getSetID()
public int getConnections()
public CommunicatorConfig setConnections(int connections)
public int getConnectTimeout()
public CommunicatorConfig setConnectTimeout(int connectTimeout)
public int getCorePoolSize()
public CommunicatorConfig setCorePoolSize(int corePoolSize)
public int getMaxPoolSize()
public CommunicatorConfig setMaxPoolSize(int maxPoolSize)
public int getKeepAliveTime()
public CommunicatorConfig setKeepAliveTime(int keepAliveTime)
public int getQueueSize()
public CommunicatorConfig setQueueSize(int queueSize)
public String getLogPath()
public CommunicatorConfig setLogPath(String logPath)
public String getLogLevel()
public CommunicatorConfig setLogLevel(String logLevel)
public String getDataPath()
public CommunicatorConfig setDataPath(String dataPath)
public String getCharsetName()
public CommunicatorConfig setCharsetName(String charsetName)
Copyright © 2020. All Rights Reserved.