类 DistroTagGeneratorImpl

  • 所有已实现的接口:
    DistroTagGenerator

    @Component
    public class DistroTagGeneratorImpl
    extends java.lang.Object
    implements DistroTagGenerator
    Distro tag generator.
    作者:
    xiweng.yy
    • 构造器详细资料

      • DistroTagGeneratorImpl

        public DistroTagGeneratorImpl()
    • 方法详细资料

      • getResponsibleTag

        public java.lang.String getResponsibleTag​(com.alibaba.nacos.core.utils.ReuseHttpServletRequest request)
        从接口复制的说明: DistroTagGenerator
        Get responsible tag from http request.
        指定者:
        getResponsibleTag 在接口中 DistroTagGenerator
        参数:
        request - http request.
        返回:
        responsible tag for distro.
      • getTagGenerator

        private DistroTagGenerator getTagGenerator()
        Get tag generator according to cluster member ability.

        If all member is upper than 2.x. Using DistroIpPortTagGenerator.

        返回:
        actual tag generator