Files
反编译工作区 0a34c76a82 chore(v0.11): 全路径纳入版本库与走查整改
- .gitignore:显式放行全部 maven-*、scripts、dev-support、frontend、反1、artifacts、历史导出目录
- 新增跟踪:device-manager/device-sdk/legacy-public、davinci-manager、cwos-*、cwos-resource 等源码与附属资源
- davinci FileStorageManagerImpl:Feign Response 关闭、绝对 URL 拉流 SSRF 校验(协议/主机/解析地址)
- davinci OuterCallFeignClient:补充契约说明
- cwos-common-aks AksConstant:final 类 + 私有构造防误实例化
- device-manager DeviceConstant:沿用 DEFAULT_APPLICATIONID 拼写修正

Made-with: Cursor
2026-04-24 23:54:05 +08:00

131 lines
4.1 KiB
Java

/* */ package cn.cloudwalk.event.autoconfig;
/* */
/* */ import java.util.Map;
/* */ import org.springframework.boot.context.properties.ConfigurationProperties;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @ConfigurationProperties(prefix = "cloudwalk.event")
/* */ public class EventProperties
/* */ {
/* */ protected static final String CONF_PREFIX = "cloudwalk.event";
/* */ private String bootstrapServers;
/* */ private String groupId;
/* */ private Map<String, String> listenerClass;
/* */ private Integer fetchDataWorkerNumber;
/* */ private String workerNamePrefix;
/* 49 */ private HandlerExecutorConfig handlerExecutorConfig = new HandlerExecutorConfig(Integer.valueOf(5), Integer.valueOf(10));
/* */
/* */ public static class HandlerExecutorConfig
/* */ {
/* */ private Integer corePoolSize;
/* */ private Integer maximumPoolSize;
/* */
/* */ public HandlerExecutorConfig(Integer corePoolSize, Integer maximumPoolSize) {
/* 57 */ this.corePoolSize = corePoolSize;
/* 58 */ this.maximumPoolSize = maximumPoolSize;
/* */ }
/* */
/* */ public Integer getCorePoolSize() {
/* 62 */ return this.corePoolSize;
/* */ }
/* */
/* */ public void setCorePoolSize(Integer corePoolSize) {
/* 66 */ this.corePoolSize = corePoolSize;
/* */ }
/* */
/* */ public Integer getMaximumPoolSize() {
/* 70 */ return this.maximumPoolSize;
/* */ }
/* */
/* */ public void setMaximumPoolSize(Integer maximumPoolSize) {
/* 74 */ this.maximumPoolSize = maximumPoolSize;
/* */ }
/* */ }
/* */
/* */ public String getBootstrapServers() {
/* 79 */ return this.bootstrapServers;
/* */ }
/* */
/* */ public void setBootstrapServers(String bootstrapServers) {
/* 83 */ this.bootstrapServers = bootstrapServers;
/* */ }
/* */
/* */ public String getGroupId() {
/* 87 */ return this.groupId;
/* */ }
/* */
/* */ public void setGroupId(String groupId) {
/* 91 */ this.groupId = groupId;
/* */ }
/* */
/* */ public Map<String, String> getListenerClass() {
/* 95 */ return this.listenerClass;
/* */ }
/* */
/* */ public void setListenerClass(Map<String, String> listenerClass) {
/* 99 */ this.listenerClass = listenerClass;
/* */ }
/* */
/* */ public Integer getFetchDataWorkerNumber() {
/* 103 */ return this.fetchDataWorkerNumber;
/* */ }
/* */
/* */ public void setFetchDataWorkerNumber(Integer fetchDataWorkerNumber) {
/* 107 */ this.fetchDataWorkerNumber = fetchDataWorkerNumber;
/* */ }
/* */
/* */ public HandlerExecutorConfig getHandlerExecutorConfig() {
/* 111 */ return this.handlerExecutorConfig;
/* */ }
/* */
/* */ public void setHandlerExecutorConfig(HandlerExecutorConfig handlerExecutorConfig) {
/* 115 */ this.handlerExecutorConfig = handlerExecutorConfig;
/* */ }
/* */
/* */ public String getWorkerNamePrefix() {
/* 119 */ return this.workerNamePrefix;
/* */ }
/* */
/* */ public void setWorkerNamePrefix(String workerNamePrefix) {
/* 123 */ this.workerNamePrefix = workerNamePrefix;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\autoconfig\EventProperties.class
* Java compiler version: 7 (51.0)
* JD-Core Version: 1.1.3
*/