com.atlassian.util.concurrent
Interface ReusableLatch

All Superinterfaces:
Awaitable
All Known Implementing Classes:
BooleanLatch, PhasedLatch

public interface ReusableLatch
extends Awaitable

A Latch that may be reused, unlike a CountDownLatch.


Method Summary
 void release()
          Release the latch, releasing one or more threads that are waiting on it.
 
Methods inherited from interface com.atlassian.util.concurrent.Awaitable
await, await
 

Method Detail

release

void release()
Release the latch, releasing one or more threads that are waiting on it.



Copyright © 2011 Atlassian. All Rights Reserved.