Package org.apache.solr.core
Class CloudConfig.CloudConfigBuilder
- java.lang.Object
-
- org.apache.solr.core.CloudConfig.CloudConfigBuilder
-
- Enclosing class:
- CloudConfig
public static class CloudConfig.CloudConfigBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description CloudConfigBuilder(String hostName, int hostPort)
CloudConfigBuilder(String hostName, int hostPort, String hostContext)
-
Method Summary
-
-
-
Method Detail
-
setZkHost
public CloudConfig.CloudConfigBuilder setZkHost(String zkHost)
-
setZkClientTimeout
public CloudConfig.CloudConfigBuilder setZkClientTimeout(int zkClientTimeout)
-
setUseGenericCoreNames
public CloudConfig.CloudConfigBuilder setUseGenericCoreNames(boolean useGenericCoreNames)
-
setLeaderVoteWait
public CloudConfig.CloudConfigBuilder setLeaderVoteWait(int leaderVoteWait)
-
setLeaderConflictResolveWait
public CloudConfig.CloudConfigBuilder setLeaderConflictResolveWait(int leaderConflictResolveWait)
-
setZkCredentialsProviderClass
public CloudConfig.CloudConfigBuilder setZkCredentialsProviderClass(String zkCredentialsProviderClass)
-
setZkACLProviderClass
public CloudConfig.CloudConfigBuilder setZkACLProviderClass(String zkACLProviderClass)
-
setZkCredentialsInjectorClass
public CloudConfig.CloudConfigBuilder setZkCredentialsInjectorClass(String zkCredentialsInjectorClass)
-
setCreateCollectionWaitTimeTillActive
public CloudConfig.CloudConfigBuilder setCreateCollectionWaitTimeTillActive(int createCollectionWaitTimeTillActive)
-
setCreateCollectionCheckLeaderActive
public CloudConfig.CloudConfigBuilder setCreateCollectionCheckLeaderActive(boolean createCollectionCheckLeaderActive)
-
setPkiHandlerPrivateKeyPath
public CloudConfig.CloudConfigBuilder setPkiHandlerPrivateKeyPath(String pkiHandlerPrivateKeyPath)
-
setPkiHandlerPublicKeyPath
public CloudConfig.CloudConfigBuilder setPkiHandlerPublicKeyPath(String pkiHandlerPublicKeyPath)
-
setUseDistributedClusterStateUpdates
public CloudConfig.CloudConfigBuilder setUseDistributedClusterStateUpdates(boolean useDistributedClusterStateUpdates)
-
setUseDistributedCollectionConfigSetExecution
public CloudConfig.CloudConfigBuilder setUseDistributedCollectionConfigSetExecution(boolean useDistributedCollectionConfigSetExecution)
-
setMinStateByteLenForCompression
public CloudConfig.CloudConfigBuilder setMinStateByteLenForCompression(int minStateByteLenForCompression)
-
setStateCompressorClass
public CloudConfig.CloudConfigBuilder setStateCompressorClass(String stateCompressorClass)
-
build
public CloudConfig build()
-
-