LockRepository

container.tool.lock$.LockRepository
See theLockRepository companion object

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def lock(obj: T): Unit
def nbLocked(k: T): Int
def unlock(obj: T): Unit
def withLock[A](obj: T)(op: => A): A

Concrete fields

val locks: HashMap[T, (ReentrantLock, AtomicInteger)]