MongoLockRepository
uk.gov.hmrc.mongo.lock.MongoLockRepository
@Singleton
class MongoLockRepository(mongoComponent: MongoComponent, timestampSupport: TimestampSupport)(implicit ec: ExecutionContext) extends PlayMongoRepository[Lock], LockRepository
Attributes
- Graph
-
- Supertypes
-
trait LockRepositoryclass PlayMongoRepository[Lock]trait MongoDatabaseCollectionclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
override def disownLock(lockId: String, owner: String, updatedExpiry: Option[Instant]): Future[Unit]
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- PlayMongoRepository
Attributes
- Inherited from:
- PlayMongoRepository
Concrete fields
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
Inherited fields
Attributes
- Inherited from:
- PlayMongoRepository
Attributes
- Inherited from:
- PlayMongoRepository
Attributes
- Inherited from:
- PlayMongoRepository
Attributes
- Inherited from:
- PlayMongoRepository
Attributes
- Inherited from:
- PlayMongoRepository
Attributes
- Inherited from:
- PlayMongoRepository
In this article