Package com.semedy.reasoner.utils
Class Producer<T>
java.lang.Object
com.semedy.reasoner.utils.Producer<T>
Provides producer functionality
- Author:
- Juergen
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Producer
public Producer(int capacity)
-
-
Method Details
-
start
public void start() -
shutDown
- Throws:
InterruptedException
-
consume
- Throws:
InterruptedException
-
produce
- Throws:
InterruptedException
-