Package at.jku.ssw.fp.sect10_7
Class Demo3_StreamingSong
- java.lang.Object
-
- at.jku.ssw.fp.sect10_7.Demo3_StreamingSong
-
public class Demo3_StreamingSong extends Object
Demo program implementing a streaming of a text with backpressure.- Author:
- Herbert Praehofer
-
-
Field Summary
Fields Modifier and Type Field Description private static int
DELAY
private static CountDownLatch
teriminateLatch
-
Constructor Summary
Constructors Constructor Description Demo3_StreamingSong()
-
-
-
Field Detail
-
DELAY
private static final int DELAY
- See Also:
- Constant Field Values
-
teriminateLatch
private static CountDownLatch teriminateLatch
-
-
Method Detail
-
main
public static void main(String[] args) throws InterruptedException
- Throws:
InterruptedException
-
-