mill.client.lock
Members list
Type members
Classlikes
Combines two locks into one, making sure we only lock if we can get both locks.
Combines two locks into one, making sure we only lock if we can get both locks.
Attributes
- Source
- DoubleLock.scala
- Supertypes
Attributes
- Source
- FileLock.scala
- Supertypes
Attributes
- Companion
- object
- Source
- Lock.scala
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Source
- Lock.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Lock.type
Attributes
- Source
- Lock.scala
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
-
trait TryLocked
Container for launcher and daemon locks.
Container for launcher and daemon locks.
Attributes
- Companion
- object
- Source
- Locks.scala
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Locks.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Locks.type
Attributes
- Source
- MemoryLock.scala
- Supertypes
A lock implementation that uses atomic file creation and PID + timestamp checking. This works on filesystems that don't support file locking (e.g. Docker containers on macOS), but at the cost of potential race conditions.
A lock implementation that uses atomic file creation and PID + timestamp checking. This works on filesystems that don't support file locking (e.g. Docker containers on macOS), but at the cost of potential race conditions.
The lock file contains "pid:startTime" which uniquely identifies a process even if PIDs are reused after a process dies.
Attributes
- Source
- PidLock.scala
- Supertypes
Attributes
- Source
- Lock.scala
- Supertypes