Class AbstractLatch
java.lang.Object
org.apache.activemq.artemis.utils.AbstractLatch
- Direct Known Subclasses:
AutomaticLatch,ReusableLatch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classLook at the doc and examples provided by AbstractQueuedSynchronizer for more information -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
control
-
-
Constructor Details
-
AbstractLatch
public AbstractLatch() -
AbstractLatch
public AbstractLatch(int count)
-
-
Method Details
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
countUp
public void countUp() -
countDown
public abstract void countDown() -
countDown
public abstract void countDown(int count) -
await
- Throws:
InterruptedException
-
await
- Throws:
InterruptedException
-
await
- Throws:
InterruptedException
-