uk.gov.hmrc.mongo.cache
package uk.gov.hmrc.mongo.cache
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object CacheIdType
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CacheIdType.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class DataKey[A](unwrap: String) extends AnyVal
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass AnyShow all
A single entity is stored in the cache. Akin to previous ShortLivedCache/Save4Later.
A single entity is stored in the cache. Akin to previous ShortLivedCache/Save4Later.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
class MongoCacheRepository[CacheId](mongoComponent: MongoComponent, collectionName: String, replaceIndexes: Boolean, ttl: Duration, timestampSupport: TimestampSupport, cacheIdType: CacheIdType[CacheId], extraIndexes: Seq[IndexModel], extraCodecs: Seq[Codec[_]])(implicit ec: ExecutionContext) extends PlayMongoRepository[CacheItem]
Attributes
- Companion
- object
- Supertypes
-
class PlayMongoRepository[CacheItem]trait MongoDatabaseCollectionclass Objecttrait Matchableclass AnyShow all
object MongoCacheRepository
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MongoCacheRepository.type
class SessionCacheRepository(mongoComponent: MongoComponent, val collectionName: String, replaceIndexes: Boolean, ttl: Duration, timestampSupport: TimestampSupport, sessionIdKey: String, extraIndexes: Seq[IndexModel], extraCodecs: Seq[Codec[_]])(implicit ec: ExecutionContext) extends MongoDatabaseCollection
CacheId is stored in session with sessionIdKey
CacheId is stored in session with sessionIdKey
Attributes
- Supertypes
-
trait MongoDatabaseCollectionclass Objecttrait Matchableclass Any
In this article