Class StorServerConfig.Builder
java.lang.Object
com.yahoo.vespa.config.content.core.StorServerConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- StorServerConfig
public static final class StorServerConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket_rechecking_chunk_size(int __value) build()cluster_name(String __value) content_node_bucket_db_stripe_bits(int __value) dead_lock_detector_timeout_slack(double __value) final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) enable_dead_lock_detector(boolean __value) enable_dead_lock_detector_warnings(boolean __value) final booleanfinal Stringfinal Stringfinal Stringis_distributor(boolean __value) max_merge_queue_size(int __value) max_merges_per_node(int __value) merge_throttling_memory_limit(Consumer<StorServerConfig.Merge_throttling_memory_limit.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the listnode_capacity(double __value) node_index(int __value) Make a new builder and run the supplied function on it before adding it to the listrequire_strictly_increasing_cluster_state_versions(boolean __value) resource_exhaustion_merge_back_pressure_duration_secs(double __value) root_folder(String __value) final voidsetApplyOnRestart(boolean applyOnRestart) simulated_bucket_request_latency_msec(int __value) write_pid_file_on_startup(boolean __value)
-
Field Details
-
merge_throttling_policy
-
merge_throttling_memory_limit
-
persistence_provider
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
root_folder
-
cluster_name
-
node_index
-
is_distributor
-
node_capacity
-
max_merges_per_node
-
max_merge_queue_size
-
merge_throttling_policy
public StorServerConfig.Builder merge_throttling_policy(StorServerConfig.Merge_throttling_policy.Builder __builder) -
merge_throttling_policy
public StorServerConfig.Builder merge_throttling_policy(Consumer<StorServerConfig.Merge_throttling_policy.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
merge_throttling_memory_limit
public StorServerConfig.Builder merge_throttling_memory_limit(StorServerConfig.Merge_throttling_memory_limit.Builder __builder) -
merge_throttling_memory_limit
public StorServerConfig.Builder merge_throttling_memory_limit(Consumer<StorServerConfig.Merge_throttling_memory_limit.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
resource_exhaustion_merge_back_pressure_duration_secs
public StorServerConfig.Builder resource_exhaustion_merge_back_pressure_duration_secs(double __value) -
enable_dead_lock_detector
-
enable_dead_lock_detector_warnings
-
dead_lock_detector_timeout_slack
-
persistence_provider
public StorServerConfig.Builder persistence_provider(StorServerConfig.Persistence_provider.Builder __builder) -
persistence_provider
public StorServerConfig.Builder persistence_provider(Consumer<StorServerConfig.Persistence_provider.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
bucket_rechecking_chunk_size
-
simulated_bucket_request_latency_msec
-
content_node_bucket_db_stripe_bits
-
write_pid_file_on_startup
-
require_strictly_increasing_cluster_state_versions
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-