DoubleLock
mill.client.lock.DoubleLock
class DoubleLock(lock1: Lock, lock2: Lock) extends Lock
Combines two locks into one, making sure we only lock if we can get both locks.
Attributes
- Source
- DoubleLock.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
-
AutoCloseable
- Source
- DoubleLock.scala
Attributes
- Definition Classes
- Source
- DoubleLock.scala
Attributes
- Definition Classes
- Source
- DoubleLock.scala
Returns true if the lock is available for taking.
Returns true if the lock is available for taking.
Attributes
- Definition Classes
- Source
- DoubleLock.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- DoubleLock.scala
Attributes
- Definition Classes
- Source
- DoubleLock.scala
Inherited methods
Attributes
- Inherited from:
- Lock
- Source
- Lock.scala
In this article