< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package uk
  Definition Classes
    root
-  package gov
  Definition Classes
    uk
-  package hmrc
  Definition Classes
    gov
-  package mongo
  Definition Classes
    hmrc
-  package cache
  Definition Classes
    mongo
- CacheIdType
- DataKey
- EntityCache
- MongoCacheRepository
- SessionCacheRepository
-  package lock
  Definition Classes
    mongo
-  package play
  Definition Classes
    mongo
-  package throttle
  Definition Classes
    mongo

p

uk.gov.hmrc.mongo

# cache 

#### package cache

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  trait CacheIdType[CacheId] extends AnyRef
2.  final case class DataKey[A](unwrap: String) extends AnyVal with Product with Serializable
3.  trait EntityCache[CacheId, A] extends AnyRef

   A single entity is stored in the cache.

   A single entity is stored in the cache. Akin to previous ShortLivedCache/Save4Later.

4.  class MongoCacheRepository[CacheId] extends PlayMongoRepository[CacheItem]
5.  class SessionCacheRepository extends MongoDatabaseCollection

   CacheId is stored in session with sessionIdKey

### Value Members

1.  object CacheIdType
2.  object MongoCacheRepository

### Ungrouped