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

commonMain.me.aartikov.replica.keyed.KeyedReplicaSettings.kt Maven / Gradle / Ivy

package me.aartikov.replica.keyed

/**
 * Configures behaviour of a keyed replica.
 * @property maxCount limits count of child replicas
 * @property clearPolicy configures how keyed replica clears children when child count exceeds [maxCount]. See: [ClearPolicy].
 */
data class KeyedReplicaSettings(
    val maxCount: Int = Int.MAX_VALUE,
    val clearPolicy: ClearPolicy = ClearPolicy()
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy