public class ControlledClusterFailover extends Object implements ServiceUrlProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
ControlledClusterFailover.ControlledClusterFailoverBuilderImpl |
protected static class |
ControlledClusterFailover.ControlledConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static ControlledClusterFailoverBuilder |
builder() |
void |
close() |
protected ControlledClusterFailover.ControlledConfiguration |
fetchControlledConfiguration() |
String |
getCurrentPulsarServiceUrl() |
protected org.asynchttpclient.BoundRequestBuilder |
getRequestBuilder() |
String |
getServiceUrl() |
void |
initialize(PulsarClient client) |
public void initialize(PulsarClient client)
initialize in interface ServiceUrlProviderpublic String getCurrentPulsarServiceUrl()
protected org.asynchttpclient.BoundRequestBuilder getRequestBuilder()
protected ControlledClusterFailover.ControlledConfiguration fetchControlledConfiguration() throws IOException
IOExceptionpublic String getServiceUrl()
getServiceUrl in interface ServiceUrlProviderpublic void close()
close in interface AutoCloseableclose in interface ServiceUrlProviderpublic static ControlledClusterFailoverBuilder builder()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.