@Configuration @ConfigurationProperties(value="structure.netty.socket") public class SocketProperties extends Object
socket配置
| 构造器和说明 |
|---|
SocketProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBossCount() |
int |
getInitialBytesToStrip() |
int |
getLengthAdjustment() |
int |
getLengthFieldLength() |
int |
getLengthFieldOffset() |
int |
getMaxFrameLength() |
int |
getPort() |
int |
getWorkerCount() |
void |
setBossCount(int bossCount) |
void |
setInitialBytesToStrip(int initialBytesToStrip) |
void |
setLengthAdjustment(int lengthAdjustment) |
void |
setLengthFieldLength(int lengthFieldLength) |
void |
setLengthFieldOffset(int lengthFieldOffset) |
void |
setMaxFrameLength(int maxFrameLength) |
void |
setPort(int port) |
void |
setWorkerCount(int workerCount) |
public int getMaxFrameLength()
public void setMaxFrameLength(int maxFrameLength)
public int getLengthFieldOffset()
public void setLengthFieldOffset(int lengthFieldOffset)
public int getLengthFieldLength()
public void setLengthFieldLength(int lengthFieldLength)
public int getLengthAdjustment()
public void setLengthAdjustment(int lengthAdjustment)
public int getInitialBytesToStrip()
public void setInitialBytesToStrip(int initialBytesToStrip)
public int getBossCount()
public void setBossCount(int bossCount)
public int getWorkerCount()
public void setWorkerCount(int workerCount)
public int getPort()
public void setPort(int port)
Copyright © 2020–2021 structure. All rights reserved.