package lock
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class Lock(id: String, owner: String, timeCreated: Instant, expiryTime: Instant) extends Product with Serializable
- trait LockRepository extends AnyRef
- Annotations
- @ImplementedBy()
- trait LockService extends AnyRef
For locking for a particular task.
For locking for a particular task. The lock will be released when the task has finished.
- class MongoLockRepository extends PlayMongoRepository[Lock] with LockRepository
- Annotations
- @Singleton()
- trait TimePeriodLockService extends AnyRef
For locking for a give time period (i.e.
For locking for a give time period (i.e. stop other instances executing the task until it stops renewing the lock). The lock will be held on to when the task has finished, until it expires.
Value Members
- object Lock extends Serializable
- object LockService
- object TimePeriodLockService