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

org.babyfish.jimmer.sql.kt.KCaches.kt Maven / Gradle / Ivy

There is a newer version: 0.9.35
Show newest version
package org.babyfish.jimmer.sql.kt

import org.babyfish.jimmer.meta.ImmutableProp
import org.babyfish.jimmer.meta.ImmutableType
import org.babyfish.jimmer.sql.cache.Cache
import org.babyfish.jimmer.sql.event.DatabaseEvent
import kotlin.reflect.KClass
import kotlin.reflect.KProperty1

interface KCaches {

    fun  getObjectCache(type: KClass): Cache?

    fun  getObjectCache(type: ImmutableType): Cache?

    fun  getPropertyCache(prop: KProperty1<*, *>): Cache?

    fun  getPropertyCache(prop: ImmutableProp): Cache?

    fun isAffectedBy(e: DatabaseEvent): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy