[Java] Class LockableObject

  • org.codehaus.groovy.util.LockableObject

A bit simplified lock designed to be inherited by.

Method Detail

protected final boolean isHeldExclusively()

public final void lock()

protected final boolean tryAcquire(int acquires)

protected final boolean tryRelease(int releases)

public final void unlock()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/util/LockableObject.html