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

dev.mongocamp.driver.mongodb.relation.RelationCache.scala Maven / Gradle / Ivy

There is a newer version: 2.8.1
Show newest version
package dev.mongocamp.driver.mongodb.relation

object RelationCache extends RelationCaching {
  var relationCaching: RelationCaching = new DefaultRelationCache

  override def addCachedValue(key: String, value: AnyRef): Unit =
    relationCaching.addCachedValue(key, value)

  override def getCachedValue[B <: AnyRef](key: String): B =
    relationCaching.getCachedValue[B](key)

  override def hasCachedValue(key: String): Boolean =
    relationCaching.hasCachedValue(key)

  override def removeCachedValue(key: String): Unit =
    relationCaching.removeCachedValue(key)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy