class MongoCacheRepository[CacheId] extends PlayMongoRepository[CacheItem]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoCacheRepository
- PlayMongoRepository
- MongoDatabaseCollection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MongoCacheRepository(mongoComponent: MongoComponent, collectionName: String, replaceIndexes: Boolean = true, ttl: Duration, timestampSupport: TimestampSupport, cacheIdType: CacheIdType[CacheId])(implicit ec: ExecutionContext)
- Annotations
- @Inject()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- lazy val collection: MongoCollection[CacheItem]
- Definition Classes
- PlayMongoRepository
- final val collectionName: String
- Definition Classes
- PlayMongoRepository → MongoDatabaseCollection
- def delete[A](cacheId: CacheId)(dataKey: DataKey[A]): Future[Unit]
- def deleteEntity(cacheId: CacheId): Future[Unit]
- final val domainFormat: Format[CacheItem]
- Definition Classes
- PlayMongoRepository
- def ensureIndexes(): Future[Seq[String]]
- Definition Classes
- PlayMongoRepository
- def ensureSchema(): Future[Unit]
- Definition Classes
- PlayMongoRepository
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findById(cacheId: CacheId): Future[Option[CacheItem]]
- def get[A](cacheId: CacheId)(dataKey: DataKey[A])(implicit arg0: Reads[A]): Future[Option[A]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final val indexes: Seq[IndexModel]
- Definition Classes
- PlayMongoRepository → MongoDatabaseCollection
- lazy val initialised: Future[Unit]
- Definition Classes
- PlayMongoRepository
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final val optSchema: Option[BsonDocument]
- Definition Classes
- PlayMongoRepository
- def put[A](cacheId: CacheId)(dataKey: DataKey[A], data: A)(implicit arg0: Writes[A]): Future[CacheItem]
- lazy val requiresTtlIndex: Boolean
Can be overridden if the repository manages it's own data cleanup.
Can be overridden if the repository manages it's own data cleanup.
A comment should be added to document why the repository does't require a ttl index if overriding.
- Attributes
- protected[mongo]
- Definition Classes
- PlayMongoRepository
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated