-
-
Constructor Summary
Constructors
Modifier |
Constructor and Description |
protected |
WriterLock() |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WriterLock
protected WriterLock()
-
Method Detail
-
unlock
public void unlock()
- Specified by:
unlock
in interface Lock
-
lock
public void lock()
- Specified by:
lock
in interface Lock
-
tryLock
public boolean tryLock()
- Specified by:
tryLock
in interface Lock
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.