Package org.projectnessie.quarkus.config
Interface QuarkusVersionStoreAdvancedConfig
-
- All Superinterfaces:
org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig,org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig,org.projectnessie.versioned.persist.tx.TxDatabaseAdapterConfig
@StaticInitSafe @ConfigMapping(prefix="nessie.version.store.advanced") public interface QuarkusVersionStoreAdvancedConfig extends org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig, org.projectnessie.versioned.persist.tx.TxDatabaseAdapterConfigThis 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_ASSUMED_WALL_CLOCK_DRIFT_MICROS, DEFAULT_ATTACHMENT_KEYS_BATCH_SIZE, DEFAULT_COMMIT_RETRIES, DEFAULT_COMMIT_TIMEOUT, DEFAULT_KEY_LIST_DISTANCE, DEFAULT_KEY_LIST_ENTITY_PREFETCH, DEFAULT_KEY_LIST_HASH_LOAD_FACTOR, DEFAULT_MAX_ENTITY_SIZE, DEFAULT_MAX_KEY_LIST_ENTITY_SIZE, DEFAULT_PARENTS_PER_COMMIT, DEFAULT_PARENTS_PER_REFLOG_ENTRY, DEFAULT_REPOSITORY_ID, DEFAULT_RETRY_INITIAL_SLEEP_MILLIS_LOWER, DEFAULT_RETRY_INITIAL_SLEEP_MILLIS_UPPER, DEFAULT_RETRY_MAX_SLEEP_MILLIS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAssumedWallClockDriftMicros()intgetAttachmentKeysBatchSize()intgetBatchSize()intgetCommitLogScanPrefetch()intgetCommitRetries()longgetCommitTimeout()@WithConverter(RepoIdConverter.class) java.lang.StringgetJdbcCatalog()@WithConverter(RepoIdConverter.class) java.lang.StringgetJdbcSchema()intgetKeyListDistance()intgetKeyListEntityPrefetch()floatgetKeyListHashLoadFactor()intgetMaxKeyListEntitySize()intgetMaxKeyListSize()intgetParentsPerCommit()intgetParentsPerRefLogEntry()intgetReferenceNamesBatchSize()intgetReferencesSegmentPrefetch()intgetReferencesSegmentSize()intgetRefLogStripes()@WithConverter(RepoIdConverter.class) java.lang.StringgetRepositoryId()longgetRetryInitialSleepMillisLower()longgetRetryInitialSleepMillisUpper()longgetRetryMaxSleepMillis()
-
-
-
Method Detail
-
getRepositoryId
@WithName("repository-id") @WithDefault("") @WithConverter(RepoIdConverter.class) @WithConverter(RepoIdConverter.class) java.lang.String getRepositoryId()- Specified by:
getRepositoryIdin 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
-
getMaxKeyListEntitySize
@WithName("max-key-list-entity-size") @WithDefault("1000000") int getMaxKeyListEntitySize()- Specified by:
getMaxKeyListEntitySizein interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getKeyListHashLoadFactor
@WithName("key-list-hash-load-factor") @WithDefault("0.65") float getKeyListHashLoadFactor()- Specified by:
getKeyListHashLoadFactorin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getKeyListEntityPrefetch
@WithName("key-list-entity-prefetch") @WithDefault("0") int getKeyListEntityPrefetch()- Specified by:
getKeyListEntityPrefetchin 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
-
getRetryInitialSleepMillisLower
@WithName("retry.initial-sleep.millis-lower") @WithDefault("5") long getRetryInitialSleepMillisLower()- Specified by:
getRetryInitialSleepMillisLowerin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getRetryInitialSleepMillisUpper
@WithName("retry.initial-sleep.millis-upper") @WithDefault("25") long getRetryInitialSleepMillisUpper()- Specified by:
getRetryInitialSleepMillisUpperin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getRetryMaxSleepMillis
@WithName("retry.max-sleep.millis") @WithDefault("75") long getRetryMaxSleepMillis()- Specified by:
getRetryMaxSleepMillisin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getBatchSize
@WithName("tx.batch-size") @WithDefault("20") int getBatchSize()- Specified by:
getBatchSizein interfaceorg.projectnessie.versioned.persist.tx.TxDatabaseAdapterConfig
-
getParentsPerRefLogEntry
@WithName("parent-per-reflog-entry") @WithDefault("20") int getParentsPerRefLogEntry()- Specified by:
getParentsPerRefLogEntryin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getAttachmentKeysBatchSize
@WithName("attachment-keys-batch-size") @WithDefault("100") int getAttachmentKeysBatchSize()- Specified by:
getAttachmentKeysBatchSizein interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
getJdbcCatalog
@WithName("tx.jdbc.catalog") @WithDefault("") @WithConverter(RepoIdConverter.class) @WithConverter(RepoIdConverter.class) java.lang.String getJdbcCatalog()
-
getJdbcSchema
@WithName("tx.jdbc.schema") @WithDefault("") @WithConverter(RepoIdConverter.class) @WithConverter(RepoIdConverter.class) java.lang.String getJdbcSchema()
-
getReferencesSegmentSize
@WithName("references.segment.size") @WithDefault("250000") int getReferencesSegmentSize()- Specified by:
getReferencesSegmentSizein interfaceorg.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
-
getReferencesSegmentPrefetch
@WithName("references.segment.prefetch") @WithDefault("1") int getReferencesSegmentPrefetch()- Specified by:
getReferencesSegmentPrefetchin interfaceorg.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
-
getReferenceNamesBatchSize
@WithName("reference-names.batch.size") @WithDefault("25") int getReferenceNamesBatchSize()- Specified by:
getReferenceNamesBatchSizein interfaceorg.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
-
getRefLogStripes
@WithName("ref-log.stripes") @WithDefault("8") int getRefLogStripes()- Specified by:
getRefLogStripesin interfaceorg.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
-
getCommitLogScanPrefetch
@WithName("commit-log.scan-prefetch") @WithDefault("25") int getCommitLogScanPrefetch()- Specified by:
getCommitLogScanPrefetchin interfaceorg.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
-
getAssumedWallClockDriftMicros
@WithName("assumed-wall-clock-drift-micros") @WithDefault("5000000") long getAssumedWallClockDriftMicros()- Specified by:
getAssumedWallClockDriftMicrosin interfaceorg.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
-
-