Packages

package lock

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Lock(id: String, owner: String, timeCreated: Instant, expiryTime: Instant) extends Product with Serializable
  2. trait LockRepository extends AnyRef
    Annotations
    @ImplementedBy()
  3. 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.

  4. class MongoLockRepository extends PlayMongoRepository[Lock] with LockRepository
    Annotations
    @Singleton()
  5. 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

  1. object Lock extends Serializable
  2. object LockService
  3. object TimePeriodLockService

Ungrouped