Class ReclosableLatch

All Implemented Interfaces:
Serializable

public class ReclosableLatch extends AbstractQueuedSynchronizer
A thread gate, that uses an AbstractQueuedSynchronizer.

This implementation allows you to create a latch with a default state (open or closed), and repeatedly open or close the latch.

Since:
4.0
Author:
Manik Surtani ([email protected])
See Also: