com.github.linyuzai.connection.loadbalance.netty.concept.NettyLoadBalanceConcept Maven / Gradle / Ivy
package com.github.linyuzai.connection.loadbalance.netty.concept;
import com.github.linyuzai.connection.loadbalance.core.concept.AbstractConnectionLoadBalanceConcept;
import com.github.linyuzai.connection.loadbalance.core.concept.Connection;
import lombok.RequiredArgsConstructor;
/**
* Netty 负载均衡概念。
*
* Netty load balance concept.
*/
@RequiredArgsConstructor
public class NettyLoadBalanceConcept extends AbstractConnectionLoadBalanceConcept {
public static final String ID = "netty";
@Override
public String getId() {
return ID;
}
public static class Builder extends AbstractBuilder {
@Override
protected String getScope() {
return NettyScoped.NAME;
}
@Override
protected NettyLoadBalanceConcept create() {
return new NettyLoadBalanceConcept();
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy