Class ControlledClusterFailover

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.pulsar.client.api.ServiceUrlProvider

    public class ControlledClusterFailover
    extends java.lang.Object
    implements org.apache.pulsar.client.api.ServiceUrlProvider
    • Method Detail

      • initialize

        public void initialize​(org.apache.pulsar.client.api.PulsarClient client)
        Specified by:
        initialize in interface org.apache.pulsar.client.api.ServiceUrlProvider
      • getCurrentPulsarServiceUrl

        public java.lang.String getCurrentPulsarServiceUrl()
      • getRequestBuilder

        protected org.asynchttpclient.BoundRequestBuilder getRequestBuilder()
      • getServiceUrl

        public java.lang.String getServiceUrl()
        Specified by:
        getServiceUrl in interface org.apache.pulsar.client.api.ServiceUrlProvider
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface org.apache.pulsar.client.api.ServiceUrlProvider
      • builder

        public static org.apache.pulsar.client.api.ControlledClusterFailoverBuilder builder()