接口的使用
org.apache.pulsar.common.policies.data.TenantInfo
使用TenantInfo的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Implementation of policies.
-
org.apache.pulsar.client.admin中TenantInfo的使用
修饰符和类型方法说明Properties.getPropertyAdmin(String property) 已过时。Get the config of the property.Tenants.getTenantInfo(String tenant) Get the config of the tenant.返回变量类型为TenantInfo的类型的org.apache.pulsar.client.admin中的方法参数类型为TenantInfo的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明voidProperties.createProperty(String property, TenantInfo config) 已过时。Create a new property.voidTenants.createTenant(String tenant, TenantInfo config) Create a new tenant.Tenants.createTenantAsync(String tenant, TenantInfo config) Create a new tenant asynchronously.voidProperties.updateProperty(String property, TenantInfo config) 已过时。Update the admins for a property.voidTenants.updateTenant(String tenant, TenantInfo config) Update the admins for a tenant.Tenants.updateTenantAsync(String tenant, TenantInfo config) Update the admins for a tenant asynchronously. -
org.apache.pulsar.common.policies.data中TenantInfo的使用