com.nepxion.discovery.common.entity.WeightEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discovery-common Show documentation
Show all versions of discovery-common Show documentation
Nepxion Discovery is a solution for Spring Cloud with blue green, gray, weight, limitation, circuit breaker, degrade, isolation, monitor, tracing, dye, failover, async agent
package com.nepxion.discovery.common.entity;
/**
* Title: Nepxion Discovery
* Description: Nepxion Discovery
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
public class WeightEntity extends MapWeightEntity {
private static final long serialVersionUID = 4242297554671632704L;
private String consumerServiceName;
private String providerServiceName;
private WeightType type;
public String getConsumerServiceName() {
return consumerServiceName;
}
public void setConsumerServiceName(String consumerServiceName) {
this.consumerServiceName = consumerServiceName;
}
public String getProviderServiceName() {
return providerServiceName;
}
public void setProviderServiceName(String providerServiceName) {
this.providerServiceName = providerServiceName;
}
public WeightType getType() {
return type;
}
public void setType(WeightType type) {
this.type = type;
}
}