class MongoLockRepository extends PlayMongoRepository[Lock] with LockRepository
- Annotations
- @Singleton()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoLockRepository
- LockRepository
- PlayMongoRepository
- MongoDatabaseCollection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MongoLockRepository(mongoComponent: MongoComponent, timestampSupport: TimestampSupport)(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[Lock]
- Definition Classes
- PlayMongoRepository
- final val collectionName: String
- Definition Classes
- PlayMongoRepository → MongoDatabaseCollection
- final val domainFormat: Format[Lock]
- 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
- 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
- def isLocked(lockId: String, owner: String): Future[Boolean]
- Definition Classes
- MongoLockRepository → LockRepository
- 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 refreshExpiry(lockId: String, owner: String, ttl: Duration): Future[Boolean]
- Definition Classes
- MongoLockRepository → LockRepository
- def releaseLock(lockId: String, owner: String): Future[Unit]
- Definition Classes
- MongoLockRepository → LockRepository
- 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.
- Definition Classes
- MongoLockRepository → PlayMongoRepository
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def takeLock(lockId: String, owner: String, ttl: Duration): Future[Boolean]
- Definition Classes
- MongoLockRepository → LockRepository
- 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