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

com.lightningkite.lightningdb.MetricsWrappedDatabase.kt Maven / Gradle / Ivy

The newest version!
package com.lightningkite.lightningdb

import com.lightningkite.lightningserver.serverhealth.HealthStatus
import kotlin.reflect.KType

class MetricsWrappedDatabase(val wraps: Database, val metricsKeyName: String): Database by wraps {
    override fun  collection(type: KType, name: String): FieldCollection = wraps.collection(type, name).metrics(metricsKeyName)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy