Package org.apache.pulsar.client.impl
Class ControlledClusterFailover.ControlledClusterFailoverBuilderImpl
java.lang.Object
org.apache.pulsar.client.impl.ControlledClusterFailover.ControlledClusterFailoverBuilderImpl
- All Implemented Interfaces:
ControlledClusterFailoverBuilder
- Enclosing class:
- ControlledClusterFailover
public static class ControlledClusterFailover.ControlledClusterFailoverBuilderImpl
extends Object
implements ControlledClusterFailoverBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static voidcheckArgument(boolean expression, @Nullable Object errorMessage) checkInterval(long interval, @NonNull TimeUnit timeUnit) defaultServiceUrl(@NonNull String serviceUrl) urlProvider(@NonNull String urlProvider) urlProviderHeader(Map<String, String> header)
-
Constructor Details
-
ControlledClusterFailoverBuilderImpl
public ControlledClusterFailoverBuilderImpl()
-
-
Method Details
-
defaultServiceUrl
- Specified by:
defaultServiceUrlin interfaceControlledClusterFailoverBuilder
-
urlProvider
- Specified by:
urlProviderin interfaceControlledClusterFailoverBuilder
-
urlProviderHeader
- Specified by:
urlProviderHeaderin interfaceControlledClusterFailoverBuilder
-
checkInterval
public ControlledClusterFailoverBuilder checkInterval(long interval, @NonNull @NonNull TimeUnit timeUnit) - Specified by:
checkIntervalin interfaceControlledClusterFailoverBuilder
-
build
- Specified by:
buildin interfaceControlledClusterFailoverBuilder- Throws:
IOException
-
checkArgument
-