|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.util.ThreadGate
public class ThreadGate
Copyright (c) 2005 Brian Goetz and Tim Peierls Released under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.5) Official home: http://www.jcip.net ThreadGate
Recloseable gate using wait and notifyAll
Constructor Summary | |
---|---|
ThreadGate()
|
Method Summary | |
---|---|
void |
await()
|
void |
await(long timeout)
|
void |
close()
|
void |
open()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadGate()
Method Detail |
---|
public void close()
public void open()
public void await() throws java.lang.InterruptedException
java.lang.InterruptedException
public void await(long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |