Class ResourceGroupsImpl
java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.ResourceGroupsImpl
- All Implemented Interfaces:
ResourceGroups
-
Field Summary
Fields inherited from class org.apache.pulsar.client.admin.internal.BaseResource
auth, readTimeoutMs -
Constructor Summary
ConstructorsConstructorDescriptionResourceGroupsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateResourceGroup(String name, ResourceGroup resourcegroup) createResourceGroupAsync(String name, ResourceGroup resourcegroup) voiddeleteResourceGroup(String name) getResourceGroup(String resourcegroup) getResourceGroupAsync(String name) voidupdateResourceGroup(String name, ResourceGroup resourcegroup) updateResourceGroupAsync(String name, ResourceGroup resourcegroup) 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
-
ResourceGroupsImpl
public ResourceGroupsImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
-
-
Method Details
-
getResourceGroups
- Specified by:
getResourceGroupsin interfaceResourceGroups- Throws:
PulsarAdminException
-
getResourceGroupsAsync
- Specified by:
getResourceGroupsAsyncin interfaceResourceGroups
-
getResourceGroup
- Specified by:
getResourceGroupin interfaceResourceGroups- Throws:
PulsarAdminException
-
getResourceGroupAsync
- Specified by:
getResourceGroupAsyncin interfaceResourceGroups
-
createResourceGroup
public void createResourceGroup(String name, ResourceGroup resourcegroup) throws PulsarAdminException - Specified by:
createResourceGroupin interfaceResourceGroups- Throws:
PulsarAdminException
-
createResourceGroupAsync
- Specified by:
createResourceGroupAsyncin interfaceResourceGroups
-
updateResourceGroup
public void updateResourceGroup(String name, ResourceGroup resourcegroup) throws PulsarAdminException - Specified by:
updateResourceGroupin interfaceResourceGroups- Throws:
PulsarAdminException
-
updateResourceGroupAsync
- Specified by:
updateResourceGroupAsyncin interfaceResourceGroups
-
deleteResourceGroup
- Specified by:
deleteResourceGroupin interfaceResourceGroups- Throws:
PulsarAdminException
-
deleteResourceGroupAsync
- Specified by:
deleteResourceGroupAsyncin interfaceResourceGroups
-