View Javadoc
1   package locklib;
2   
3   /**
4    * Factory that creates wait queues for targets.
5    * @param <LockType> the type of lock
6    */
7   public interface WaitQueueFactory<LockType> {
8   	/**
9   	 * Creates a new wait queue.
10  	 * @return the wait queue
11  	 */
12  	WaitQueue<LockType> make();
13  }