com.alibaba.spring.boot.rsocket.broker.smi.TrafficSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibaba-broker-spring-boot-starter Show documentation
Show all versions of alibaba-broker-spring-boot-starter Show documentation
Alibaba RSocket Broker Spring Boot Starter for extension
package com.alibaba.spring.boot.rsocket.broker.smi;
import java.util.Set;
/**
* Traffic Spec: 避免大量对象生成,采用flight weight pattern
*
* @author linux_china
*/
public class TrafficSpec {
private Set orgs;
private Set serviceAccounts;
private String appName;
private String targetService;
public Set getOrgs() {
return orgs;
}
public void setOrgs(Set orgs) {
this.orgs = orgs;
}
public Set getServiceAccounts() {
return serviceAccounts;
}
public void setServiceAccounts(Set serviceAccounts) {
this.serviceAccounts = serviceAccounts;
}
public String getAppName() {
return appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getTargetService() {
return targetService;
}
public void setTargetService(String targetService) {
this.targetService = targetService;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy