Lock

mill.client.lock.Lock
See theLock companion object
abstract class Lock extends AutoCloseable

Attributes

Companion
object
Source
Lock.scala
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class DoubleLock
class FileLock
class MemoryLock
class PidLock

Members list

Value members

Abstract methods

def lock(): Locked

Attributes

Source
Lock.scala
def probe(): Boolean

Returns true if the lock is available for taking.

Returns true if the lock is available for taking.

Attributes

Source
Lock.scala

Attributes

Source
Lock.scala

Concrete methods

def await(): Unit

Attributes

Source
Lock.scala
def delete(): Unit

Attributes

Source
Lock.scala

Inherited and Abstract methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable