Interface QuarkusVersionStoreAdvancedConfig

  • All Superinterfaces:
    org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig, org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig, TxDatabaseAdapterConfig

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

    • Method Detail

      • getRepositoryId

        @WithName("repository-id")
        @WithDefault("")
        @WithConverter(RepoIdConverter.class)
        @WithConverter(RepoIdConverter.class) 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
      • getDefaultMaxKeyListSize

        @WithName("default-max-key-list-size")
        @WithDefault("250000")
        int getDefaultMaxKeyListSize()
        Specified by:
        getDefaultMaxKeyListSize 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
      • getParentsPerGlobalCommit

        @WithName("nontx.parents-per-global-commit")
        @WithDefault("50")
        int getParentsPerGlobalCommit()
        Specified by:
        getParentsPerGlobalCommit in interface org.projectnessie.versioned.persist.nontx.NonTransactionalDatabaseAdapterConfig
      • getParentsPerRefLogEntry

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