Class TenantsImpl
java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.TenantsImpl
- All Implemented Interfaces:
Properties,Tenants
-
Field Summary
Fields inherited from class org.apache.pulsar.client.admin.internal.BaseResource
auth, readTimeoutMs -
Constructor Summary
ConstructorsConstructorDescriptionTenantsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateProperty(String tenant, TenantInfo config) voidcreateTenant(String tenant, TenantInfo config) createTenantAsync(String tenant, TenantInfo config) voiddeleteProperty(String tenant) voiddeleteTenant(String tenant) voiddeleteTenant(String tenant, boolean force) deleteTenantAsync(String tenant) deleteTenantAsync(String tenant, boolean force) getPropertyAdmin(String tenant) getTenantInfo(String tenant) getTenantInfoAsync(String tenant) javax.ws.rs.client.WebTargetvoidupdateProperty(String tenant, TenantInfo config) voidupdateTenant(String tenant, TenantInfo config) updateTenantAsync(String tenant, TenantInfo config) Methods inherited from class org.apache.pulsar.client.admin.internal.BaseResource
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncPostRequest, asyncPostRequestWithResponse, asyncPutRequest, getApiException, getApiException, getReasonFromServer, request, requestAsync, sync
-
Constructor Details
-
TenantsImpl
public TenantsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
-
-
Method Details
-
getTenants
- Specified by:
getTenantsin interfaceTenants- Throws:
PulsarAdminException
-
getTenantsAsync
- Specified by:
getTenantsAsyncin interfaceTenants
-
getTenantInfo
- Specified by:
getTenantInfoin interfaceTenants- Throws:
PulsarAdminException
-
getTenantInfoAsync
- Specified by:
getTenantInfoAsyncin interfaceTenants
-
createTenant
- Specified by:
createTenantin interfaceTenants- Throws:
PulsarAdminException
-
createTenantAsync
- Specified by:
createTenantAsyncin interfaceTenants
-
updateTenant
- Specified by:
updateTenantin interfaceTenants- Throws:
PulsarAdminException
-
updateTenantAsync
- Specified by:
updateTenantAsyncin interfaceTenants
-
deleteTenant
- Specified by:
deleteTenantin interfaceTenants- Throws:
PulsarAdminException
-
deleteTenant
- Specified by:
deleteTenantin interfaceTenants- Throws:
PulsarAdminException
-
deleteTenantAsync
- Specified by:
deleteTenantAsyncin interfaceTenants
-
deleteTenantAsync
- Specified by:
deleteTenantAsyncin interfaceTenants
-
createProperty
- Specified by:
createPropertyin interfaceProperties- Throws:
PulsarAdminException
-
updateProperty
- Specified by:
updatePropertyin interfaceProperties- Throws:
PulsarAdminException
-
deleteProperty
- Specified by:
deletePropertyin interfaceProperties- Throws:
PulsarAdminException
-
getProperties
- Specified by:
getPropertiesin interfaceProperties- Throws:
PulsarAdminException
-
getPropertyAdmin
- Specified by:
getPropertyAdminin interfaceProperties- Throws:
PulsarAdminException
-
getWebTarget
public javax.ws.rs.client.WebTarget getWebTarget()
-