com.tencent.trpc.spring.context.configuration.schema.plugin.PluginsSchema Maven / Gradle / Ivy
/*
* Tencent is pleased to support the open source community by making tRPC available.
*
* Copyright (C) 2023 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* If you have downloaded a copy of the tRPC source code from Tencent,
* please note that tRPC source code is licensed under the Apache 2.0 License,
* A copy of the Apache 2.0 License can be found in the LICENSE file.
*/
package com.tencent.trpc.spring.context.configuration.schema.plugin;
import com.google.common.collect.Maps;
import java.util.Map;
/**
* Configuration for plugins
*
* @see com.tencent.trpc.core.common.config.PluginConfig
*/
public class PluginsSchema {
/**
* WorkerPool plugin configs
*/
private Map> workerPool = Maps.newHashMap();
/**
* Config center plugin configs
*/
private Map> config = Maps.newHashMap();
/**
* Filter plugin configs
*/
private Map> filter = Maps.newHashMap();
/**
* Tracing plugin configs
*/
private Map> tracing = Maps.newHashMap();
/**
* Telemetry plugin configs
*/
private Map> telemetry = Maps.newHashMap();
/**
* Selector plugin configs
*/
private Map> selector = Maps.newHashMap();
/**
* Discovery plugin configs
*/
private Map> discovery = Maps.newHashMap();
/**
* Load balance plugin configs
*/
private Map> loadbalance = Maps.newHashMap();
/**
* Circuit breaker plugin configs
*/
private Map> circuitbreaker = Maps.newHashMap();
/**
* Router plugin configs
*/
private Map> router = Maps.newHashMap();
/**
* Registry plugin configs
*/
private Map> registry = Maps.newHashMap();
/**
* Remote log plugin configs
*/
private Map> remoteLog = Maps.newHashMap();
/**
* Metrics plugin configs
*/
private Map> metrics = Maps.newHashMap();
/**
* Limiter plugin configs
*/
private Map> limiter = Maps.newHashMap();
public Map> getWorkerPool() {
return workerPool;
}
public void setWorkerPool(Map> workerPool) {
this.workerPool = workerPool;
}
public Map> getConfig() {
return config;
}
public void setConfig(Map> config) {
this.config = config;
}
public Map> getFilter() {
return filter;
}
public void setFilter(Map> filter) {
this.filter = filter;
}
public Map> getTracing() {
return tracing;
}
public void setTracing(Map> tracing) {
this.tracing = tracing;
}
public Map> getTelemetry() {
return telemetry;
}
public void setTelemetry(Map> telemetry) {
this.telemetry = telemetry;
}
public Map> getSelector() {
return selector;
}
public void setSelector(Map> selector) {
this.selector = selector;
}
public Map> getDiscovery() {
return discovery;
}
public void setDiscovery(Map> discovery) {
this.discovery = discovery;
}
public Map> getLoadbalance() {
return loadbalance;
}
public void setLoadbalance(Map> loadbalance) {
this.loadbalance = loadbalance;
}
public Map> getCircuitbreaker() {
return circuitbreaker;
}
public void setCircuitbreaker(Map> circuitbreaker) {
this.circuitbreaker = circuitbreaker;
}
public Map> getRouter() {
return router;
}
public void setRouter(Map> router) {
this.router = router;
}
public Map> getRegistry() {
return registry;
}
public void setRegistry(Map> registry) {
this.registry = registry;
}
public Map> getRemoteLog() {
return remoteLog;
}
public void setRemoteLog(Map> remoteLog) {
this.remoteLog = remoteLog;
}
public Map> getMetrics() {
return metrics;
}
public void setMetrics(Map> metrics) {
this.metrics = metrics;
}
public Map> getLimiter() {
return limiter;
}
public void setLimiter(Map> limiter) {
this.limiter = limiter;
}
@Override
public String toString() {
return "PluginsSchema{" +
"workerPool=" + workerPool +
", config=" + config +
", filter=" + filter +
", tracing=" + tracing +
", telemetry=" + telemetry +
", selector=" + selector +
", discovery=" + discovery +
", loadbalance=" + loadbalance +
", circuitbreaker=" + circuitbreaker +
", router=" + router +
", registry=" + registry +
", remoteLog=" + remoteLog +
", metrics=" + metrics +
", limiter=" + limiter +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy