类 TenantUtil

java.lang.Object
com.alibaba.nacos.client.utils.TenantUtil

public class TenantUtil extends Object
Tenant Util.
作者:
Nacos
  • 构造器详细资料

    • TenantUtil

      public TenantUtil()
  • 方法详细资料

    • getUserTenantForAcm

      public static String getUserTenantForAcm()
      Adapt the way ACM gets tenant on the cloud.

      Note the difference between getting and getting ANS. Since the processing logic on the server side is different, the default value returns differently.

      返回:
      user tenant for acm
    • getUserTenantForAns

      public static String getUserTenantForAns()
      Adapt the way ANS gets tenant on the cloud.
      返回:
      user tenant for ans