类 LdsProtocol
- java.lang.Object
-
- org.apache.dubbo.registry.xds.util.protocol.AbstractProtocol<ListenerResult,DeltaListener>
-
- org.apache.dubbo.registry.xds.util.protocol.impl.LdsProtocol
-
- 所有已实现的接口:
XdsProtocol<ListenerResult>
public class LdsProtocol extends AbstractProtocol<ListenerResult,DeltaListener>
-
-
构造器概要
构造器 构造器 说明 LdsProtocol(XdsChannel xdsChannel, io.envoyproxy.envoy.config.core.v3.Node node, int pollingPoolSize, int pollingTimeout)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ListenerResultgetListeners()StringgetTypeUrl()Abstract method to obtain Type-URL from sub-classvoidobserveListeners(Consumer<ListenerResult> consumer)-
从类继承的方法 org.apache.dubbo.registry.xds.util.protocol.AbstractProtocol
getResource, observeResource, updateObserve
-
-
-
-
构造器详细资料
-
LdsProtocol
public LdsProtocol(XdsChannel xdsChannel, io.envoyproxy.envoy.config.core.v3.Node node, int pollingPoolSize, int pollingTimeout)
-
-
方法详细资料
-
getTypeUrl
public String getTypeUrl()
从类复制的说明:AbstractProtocolAbstract method to obtain Type-URL from sub-class- 指定者:
getTypeUrl在类中AbstractProtocol<ListenerResult,DeltaListener>- 返回:
- Type-URL of xDS
-
getListeners
public ListenerResult getListeners()
-
observeListeners
public void observeListeners(Consumer<ListenerResult> consumer)
-
-