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.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.

    • Method Detail

      • getRepositoryId

        @WithName("repository-id")
        @WithDefault("")
        @WithConverter(RepoIdConverter.class)
        @WithConverter(RepoIdConverter.class) java.lang.String getRepositoryId()
        Specified by:
        getRepositoryId in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getParentsPerCommit

        @WithName("parent-per-commit")
        @WithDefault("20")
        int getParentsPerCommit()
        Specified by:
        getParentsPerCommit in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getKeyListDistance

        @WithName("key-list-distance")
        @WithDefault("20")
        int getKeyListDistance()
        Specified by:
        getKeyListDistance in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getMaxKeyListSize

        @WithName("max-key-list-size")
        @WithDefault("250000")
        int getMaxKeyListSize()
        Specified by:
        getMaxKeyListSize in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getMaxKeyListEntitySize

        @WithName("max-key-list-entity-size")
        @WithDefault("1000000")
        int getMaxKeyListEntitySize()
        Specified by:
        getMaxKeyListEntitySize in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getKeyListHashLoadFactor

        @WithName("key-list-hash-load-factor")
        @WithDefault("0.65")
        float getKeyListHashLoadFactor()
        Specified by:
        getKeyListHashLoadFactor in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getKeyListEntityPrefetch

        @WithName("key-list-entity-prefetch")
        @WithDefault("0")
        int getKeyListEntityPrefetch()
        Specified by:
        getKeyListEntityPrefetch in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getCommitTimeout

        @WithName("commit-timeout")
        @WithDefault("500")
        long getCommitTimeout()
        Specified by:
        getCommitTimeout in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getCommitRetries

        @WithName("commit-retries")
        @WithDefault("2147483647")
        int getCommitRetries()
        Specified by:
        getCommitRetries in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getRetryInitialSleepMillisLower

        @WithName("retry.initial-sleep.millis-lower")
        @WithDefault("5")
        long getRetryInitialSleepMillisLower()
        Specified by:
        getRetryInitialSleepMillisLower in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getRetryInitialSleepMillisUpper

        @WithName("retry.initial-sleep.millis-upper")
        @WithDefault("25")
        long getRetryInitialSleepMillisUpper()
        Specified by:
        getRetryInitialSleepMillisUpper in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getRetryMaxSleepMillis

        @WithName("retry.max-sleep.millis")
        @WithDefault("75")
        long getRetryMaxSleepMillis()
        Specified by:
        getRetryMaxSleepMillis in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getBatchSize

        @WithName("tx.batch-size")
        @WithDefault("20")
        int getBatchSize()
        Specified by:
        getBatchSize in interface org.projectnessie.versioned.persist.tx.TxDatabaseAdapterConfig
      • getParentsPerRefLogEntry

        @WithName("parent-per-reflog-entry")
        @WithDefault("20")
        int getParentsPerRefLogEntry()
        Specified by:
        getParentsPerRefLogEntry in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getAttachmentKeysBatchSize

        @WithName("attachment-keys-batch-size")
        @WithDefault("100")
        int getAttachmentKeysBatchSize()
        Specified by:
        getAttachmentKeysBatchSize in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
      • getReferencesSegmentSize

        @WithName("references.segment.size")
        @WithDefault("250000")
        int getReferencesSegmentSize()
        Specified by:
        getReferencesSegmentSize in interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
      • getReferencesSegmentPrefetch

        @WithName("references.segment.prefetch")
        @WithDefault("1")
        int getReferencesSegmentPrefetch()
        Specified by:
        getReferencesSegmentPrefetch in interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
      • getReferenceNamesBatchSize

        @WithName("reference-names.batch.size")
        @WithDefault("25")
        int getReferenceNamesBatchSize()
        Specified by:
        getReferenceNamesBatchSize in interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
      • getRefLogStripes

        @WithName("ref-log.stripes")
        @WithDefault("8")
        int getRefLogStripes()
        Specified by:
        getRefLogStripes in interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
      • getCommitLogScanPrefetch

        @WithName("commit-log.scan-prefetch")
        @WithDefault("25")
        int getCommitLogScanPrefetch()
        Specified by:
        getCommitLogScanPrefetch in interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
      • getAssumedWallClockDriftMicros

        @WithName("assumed-wall-clock-drift-micros")
        @WithDefault("5000000")
        long getAssumedWallClockDriftMicros()
        Specified by:
        getAssumedWallClockDriftMicros in interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig