All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xtdb.api.CompactorConfig.kt Maven / Gradle / Ivy

The newest version!
@file:UseSerializers(DurationSerde::class, BooleanWithEnvVarSerde::class)

package xtdb.api

import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import xtdb.api.BooleanWithEnvVarSerde
import xtdb.DurationSerde
import java.time.Duration

@Serializable
data class CompactorConfig(var enabled: Boolean = true) {
    fun enabled(enabled: Boolean) = apply { this.enabled = enabled }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy