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

      • getKeyPrefix

        @WithName("key-prefix")
        @WithDefault("")
        @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class)
        @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String getKeyPrefix()
        Specified by:
        getKeyPrefix 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
      • getParentsPerGlobalCommit

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