/* */ 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 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 getListenerClass() { /* 95 */ return this.listenerClass; /* */ } /* */ /* */ public void setListenerClass(Map 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 */