ManagementClient.getTopicRuntimeInfo(String path) 方法
定义
Retrieves the runtime information of a topic
public TopicRuntimeInfo getTopicRuntimeInfo(String path)
参数
- path
- String
- The path of the queue relative to service bus namespace.
返回
- TopicRuntimeInfo containing runtime information about the topic.
例外
IllegalArgumentException
- Thrown if path is null, empty, or not in right format or length.
TimeoutException
- The operation times out. The timeout period is initiated through ClientSettings.operationTimeout
MessagingEntityNotFoundException
- Entity with this name doesn't exist.
AuthorizationFailedException
- No sufficient permission to perform this operation. Please check ClientSettings.tokenProvider has correct details.
ServerBusyException
- The server is busy. You should wait before you retry the operation.
ServiceBusException
- An internal error or an unexpected exception occurred.
InterruptedException
if the current thread was interrupted