com.github.linyuzai.connection.loadbalance.netty.concept.NettyLoadBalanceHandler Maven / Gradle / Ivy
package com.github.linyuzai.connection.loadbalance.netty.concept;
import com.github.linyuzai.connection.loadbalance.core.concept.Connection;
import com.github.linyuzai.connection.loadbalance.core.extension.GroupSelector;
import io.netty.channel.*;
import io.netty.util.ReferenceCountUtil;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import java.util.HashMap;
import java.util.Map;
/**
* Netty 负载均衡处理器。
*
* Netty load balance handler.
*/
@Getter
@RequiredArgsConstructor
public class NettyLoadBalanceHandler extends ChannelInboundHandlerAdapter {
private final NettyLoadBalanceConcept concept;
private final Map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy