cloud.tianai.rpc.springboot.properties.RpcProviderProperties Maven / Gradle / Ivy
package cloud.tianai.rpc.springboot.properties;
import cloud.tianai.rpc.common.constant.CommonConstant;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
@Data
@ConfigurationProperties(prefix = "tianai-rpc.server")
public class RpcProviderProperties {
private String server = "netty";
private Integer workerThreads = CommonConstant.DEFAULT_IO_THREADS;
private Integer bossThreads = 1;
private Integer timeout = 5000;
private Integer port = 20881;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy