Interface AdjustableDatabaseAdapterConfig
-
- All Superinterfaces:
DatabaseAdapterConfig
public interface AdjustableDatabaseAdapterConfig extends DatabaseAdapterConfig
-
-
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
-
Methods inherited from interface org.projectnessie.versioned.persist.adapter.DatabaseAdapterConfig
currentTimeInMicros, getAssumedWallClockDriftMicros, getAttachmentKeysBatchSize, getClock, getCommitRetries, getCommitTimeout, getKeyListDistance, getKeyListEntityPrefetch, getKeyListHashLoadFactor, getMaxKeyListEntitySize, getMaxKeyListSize, getParentsPerCommit, getParentsPerRefLogEntry, getRepositoryId, getRetryInitialSleepMillisLower, getRetryInitialSleepMillisUpper, getRetryMaxSleepMillis
-
-
-
-
Method Detail
-
withRepositoryId
AdjustableDatabaseAdapterConfig withRepositoryId(java.lang.String repositoryId)
-
withParentsPerCommit
AdjustableDatabaseAdapterConfig withParentsPerCommit(int parentsPerCommit)
-
withKeyListDistance
AdjustableDatabaseAdapterConfig withKeyListDistance(int keyListDistance)
-
withMaxKeyListSize
AdjustableDatabaseAdapterConfig withMaxKeyListSize(int maxKeyListSize)
-
withMaxKeyListEntitySize
AdjustableDatabaseAdapterConfig withMaxKeyListEntitySize(int maxKeyListEntitySize)
-
withKeyListHashLoadFactor
AdjustableDatabaseAdapterConfig withKeyListHashLoadFactor(float keyListHashLoadFactor)
-
withKeyListEntityPrefetch
AdjustableDatabaseAdapterConfig withKeyListEntityPrefetch(int keyListEntityPrefetch)
-
withCommitTimeout
AdjustableDatabaseAdapterConfig withCommitTimeout(long commitTimeout)
-
withCommitRetries
AdjustableDatabaseAdapterConfig withCommitRetries(int commitRetries)
-
withRetryInitialSleepMillisLower
AdjustableDatabaseAdapterConfig withRetryInitialSleepMillisLower(long retryInitialSleepMillisLower)
-
withRetryInitialSleepMillisUpper
AdjustableDatabaseAdapterConfig withRetryInitialSleepMillisUpper(long retryInitialSleepMillisUpper)
-
withRetryMaxSleepMillis
AdjustableDatabaseAdapterConfig withRetryMaxSleepMillis(long retryMaxSleepMillis)
-
withClock
AdjustableDatabaseAdapterConfig withClock(java.time.Clock clock)
-
withParentsPerRefLogEntry
AdjustableDatabaseAdapterConfig withParentsPerRefLogEntry(int parentsPerRefLogEntry)
-
withAssumedWallClockDriftMicros
AdjustableDatabaseAdapterConfig withAssumedWallClockDriftMicros(long assumedWallClockDriftMicros)
-
withAttachmentKeysBatchSize
AdjustableDatabaseAdapterConfig withAttachmentKeysBatchSize(int attachmentKeysBatchSize)
-
-