use of com.alibaba.rsocket.loadbalance.LoadBalancedRSocket in project alibaba-rsocket-broker by alibaba.
the class UpstreamCluster method init.
@Override
public void init() {
if (status != 1) {
if (!this.uris.isEmpty()) {
freshUpstreams();
}
loadBalancedRSocket = new LoadBalancedRSocket(getServiceId(), urisProcessor, rsocketRequesterSupport);
status = 1;
}
}
use of com.alibaba.rsocket.loadbalance.LoadBalancedRSocket in project alibaba-rsocket-broker by alibaba.
the class UpstreamBrokerCluster method init.
public void init() {
if (status != 1) {
// todo customized requester support
loadBalancedRSocket = new LoadBalancedRSocket("*", urisProcessor, rsocketRequesterSupport);
freshUpstreams();
status = 1;
}
}
Aggregations