public class SoConfig extends Object
| 构造器和说明 |
|---|
SoConfig() |
public void setSwapBuf(int rcvSwapBuf,
int sndSwapBuf)
public void setLocalBuf(int rcvLocalBuf,
int sndLocalBuf)
public int getRcvSwapBuf()
public void setRcvSwapBuf(int rcvSwapBuf)
public int getSndSwapBuf()
public void setSndSwapBuf(int sndSwapBuf)
public int getRcvLocalBuf()
public void setRcvLocalBuf(int rcvLocalBuf)
public int getSndLocalBuf()
public void setSndLocalBuf(int sndLocalBuf)
public Integer getSoRcvBuf()
public void setSoRcvBuf(Integer soRcvBuf)
public Integer getSoSndBuf()
public void setSoSndBuf(Integer soSndBuf)
public Boolean getSoKeepAlive()
public void setSoKeepAlive(Boolean soKeepAlive)
public Integer getSoKeepIdleSec()
public void setSoKeepIdleSec(Integer soKeepIdleSec)
public Integer getSoKeepIntervalSec()
public void setSoKeepIntervalSec(Integer soKeepIntervalSec)
public Integer getSoKeepCount()
public void setSoKeepCount(Integer soKeepCount)
public Integer getSoReadTimeoutMs()
public void setSoReadTimeoutMs(Integer soReadTimeoutMs)
public Integer getSoWriteTimeoutMs()
public void setSoWriteTimeoutMs(Integer soWriteTimeoutMs)
public int getRetryIntervalMs()
public void setRetryIntervalMs(int retryIntervalMs)
public int getConnectTimeoutMs()
public void setConnectTimeoutMs(int connectTimeoutMs)
public ByteBufAllocator getBufAllocator()
public void setBufAllocator(ByteBufAllocator bufAllocator)
public SoThreadFactory getThreadFactory()
public void setThreadFactory(SoThreadFactory threadFactory)
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
public int getIoThreads()
public void setIoThreads(int ioThreads)
public int getTaskThreads()
public void setTaskThreads(int taskThreads)
public boolean isNetlog()
public void setNetlog(boolean netlog)
Copyright © 2022–2024. All rights reserved.