Package org.projectnessie.server.config
Interface QuarkusVersionStoreAdvancedConfig
-
- All Superinterfaces:
org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig,org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig,TxDatabaseAdapterConfig
@ConfigMapping(prefix="nessie.version.store.advanced") public interface QuarkusVersionStoreAdvancedConfig extends org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig, TxDatabaseAdapterConfig
This is a superset of all database adapter configuration interfaces to be implemented by Quarkus.All adapter configuration properties are assumed to be optional or have default values. Therefore, combining all of them in one Quarkus configuration object should not cause any errors even when only a sub-set of the values is defined in runtime.
This interface overrides all getters to assign explicit Quarkus configuration names and default values to them.
-
-
Field Summary
-
Fields inherited from interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
DEFAULT_COMMIT_RETRIES, DEFAULT_COMMIT_TIMEOUT, DEFAULT_KEY_LIST_DISTANCE, DEFAULT_KEY_PREFIX, DEFAULT_MAX_KEY_LIST_SIZE, DEFAULT_PARENTS_PER_COMMIT
-
Fields inherited from interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
DEFAULT_PARENTS_PER_GLOBAL_COMMIT
-
Fields inherited from interface org.projectnessie.versioned.persist.tx.TxDatabaseAdapterConfig
DEFAULT_BATCH_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBatchSize()intgetCommitRetries()longgetCommitTimeout()intgetDefaultMaxKeyListSize()intgetKeyListDistance()@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) StringgetKeyPrefix()intgetMaxKeyListSize()intgetParentsPerCommit()intgetParentsPerGlobalCommit()
-
-
-
Method Detail
-
getKeyPrefix
@WithName("key-prefix") @WithDefault("") @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String getKeyPrefix()- Specified by:
getKeyPrefixin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getParentsPerCommit
@WithName("parent-per-commit") @WithDefault("20") int getParentsPerCommit()- Specified by:
getParentsPerCommitin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getKeyListDistance
@WithName("key-list-distance") @WithDefault("20") int getKeyListDistance()- Specified by:
getKeyListDistancein interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getMaxKeyListSize
@WithName("max-key-list-size") @WithDefault("250000") int getMaxKeyListSize()- Specified by:
getMaxKeyListSizein interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getDefaultMaxKeyListSize
@WithName("default-max-key-list-size") @WithDefault("250000") int getDefaultMaxKeyListSize()- Specified by:
getDefaultMaxKeyListSizein interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getCommitTimeout
@WithName("commit-timeout") @WithDefault("500") long getCommitTimeout()- Specified by:
getCommitTimeoutin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getCommitRetries
@WithName("commit-retries") @WithDefault("2147483647") int getCommitRetries()- Specified by:
getCommitRetriesin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getParentsPerGlobalCommit
@WithName("nontx.parents-per-global-commit") @WithDefault("50") int getParentsPerGlobalCommit()- Specified by:
getParentsPerGlobalCommitin interfaceorg.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
-
getBatchSize
@WithName("tx.batch-size") @WithDefault("20") int getBatchSize()- Specified by:
getBatchSizein interfaceTxDatabaseAdapterConfig
-
-