com.github.linyuzai.connection.loadbalance.sse.concept.SseLoadBalanceConcept Maven / Gradle / Ivy
The newest version!
package com.github.linyuzai.connection.loadbalance.sse.concept;
import com.github.linyuzai.connection.loadbalance.core.concept.AbstractConnectionLoadBalanceConcept;
/**
* SSE 负载均衡概念。
*
* SSE load balance concept.
*/
public class SseLoadBalanceConcept extends AbstractConnectionLoadBalanceConcept {
public static final String ID = "sse";
/**
* 服务间订阅端点
*/
public static final String SUBSCRIBER_ENDPOINT = "/concept-sse-subscriber";
@Override
public String getId() {
return ID;
}
public static class Builder extends AbstractBuilder {
@Override
protected String getScope() {
return SseScoped.NAME;
}
@Override
protected SseLoadBalanceConcept create() {
return new SseLoadBalanceConcept();
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy