Package org.apache.pulsar.client.impl
Class ControlledClusterFailover
java.lang.Object
org.apache.pulsar.client.impl.ControlledClusterFailover
- All Implemented Interfaces:
AutoCloseable,ServiceUrlProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidclose()protected org.asynchttpclient.BoundRequestBuildervoidinitialize(PulsarClient client)
-
Method Details
-
initialize
- Specified by:
initializein interfaceServiceUrlProvider
-
getCurrentPulsarServiceUrl
-
getRequestBuilder
protected org.asynchttpclient.BoundRequestBuilder getRequestBuilder() -
fetchControlledConfiguration
protected ControlledClusterFailover.ControlledConfiguration fetchControlledConfiguration() throws IOException- Throws:
IOException
-
getServiceUrl
- Specified by:
getServiceUrlin interfaceServiceUrlProvider
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceServiceUrlProvider
-
builder
-