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 class
protected static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
void
close()
protected org.asynchttpclient.BoundRequestBuilder
void
initialize
(PulsarClient client)
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceServiceUrlProvider
-
getCurrentPulsarServiceUrl
-
getRequestBuilder
protected org.asynchttpclient.BoundRequestBuilder getRequestBuilder() -
fetchControlledConfiguration
protected ControlledClusterFailover.ControlledConfiguration fetchControlledConfiguration() throws IOException- Throws:
IOException
-
getServiceUrl
- Specified by:
getServiceUrl
in interfaceServiceUrlProvider
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceServiceUrlProvider
-
builder
-