FileLock

mill.client.lock.FileLock
class FileLock(path: String) extends Lock

Attributes

Source
FileLock.scala
Graph
Supertypes
class Lock
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable
Source
FileLock.scala
override def delete(): Unit

Attributes

Definition Classes
Source
FileLock.scala
override def lock(): Locked

Attributes

Definition Classes
Source
FileLock.scala
override def probe(): Boolean

Returns true if the lock is available for taking.

Returns true if the lock is available for taking.

Attributes

Definition Classes
Source
FileLock.scala
override def toString: String

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
FileLock.scala
override def tryLock(): TryLocked

Attributes

Definition Classes
Source
FileLock.scala

Inherited methods

def await(): Unit

Attributes

Inherited from:
Lock
Source
Lock.scala