|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.batik.util.DoublyLinkedList.Node
|
+--org.apache.batik.util.RunnableQueue.Link
|
+--org.apache.batik.util.RunnableQueue.LockableLink
To store a Runnable with an object waiting for him to be executed.
| Field Summary | |
protected boolean |
locked
Whether this link is actually locked. |
| Fields inherited from class org.apache.batik.util.RunnableQueue.Link |
runnable |
| Constructor Summary | |
RunnableQueue.LockableLink(java.lang.Runnable r)
Creates a new link. |
|
| Method Summary | |
boolean |
isLocked()
Whether the link is actually locked. |
void |
lock()
Locks this link. |
void |
unlock()
unlocks this link. |
| Methods inherited from class org.apache.batik.util.DoublyLinkedList.Node |
getNext, getPrev, insertBefore, setNext, setPrev, unlink |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean locked
| Constructor Detail |
public RunnableQueue.LockableLink(java.lang.Runnable r)
| Method Detail |
public boolean isLocked()
public void lock()
throws java.lang.InterruptedException
public void unlock()
throws java.lang.InterruptedException
unlock in class RunnableQueue.Link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||