class MongoCacheRepository[CacheId] extends PlayMongoRepository[CacheItem]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoCacheRepository
- PlayMongoRepository
- MongoDatabaseCollection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native()
-
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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
val
indexes: Seq[IndexModel]
- Definition Classes
- PlayMongoRepository → MongoDatabaseCollection
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
val
optSchema: Option[BsonDocument]
- Definition Classes
- PlayMongoRepository
- def put[A](cacheId: CacheId)(dataKey: DataKey[A], data: A)(implicit arg0: Writes[A]): Future[CacheItem]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()