io.github.hylexus.jt808.boot.props.server.Jt808NettyTcpServerProps Maven / Gradle / Ivy
package io.github.hylexus.jt808.boot.props.server;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.Min;
/**
* @author hylexus
* Created At 2019-08-26 10:24 下午
*/
@Getter
@Setter
@ToString
@Validated
public class Jt808NettyTcpServerProps {
private int port = 6808;
@Min(value = 0, message = "bossThreadCount >= 0, 0 means that Netty's default logical")
private int bossThreadCount = 0;
@Min(value = 0, message = "workerThreadCount >= 0, 0 means that Netty's default logical")
private int workerThreadCount = 0;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy