Class Spawn


  • public class Spawn
    extends java.lang.Object
    Spawn example with one consumer, ten producers
    • Constructor Summary

      Constructors 
      Constructor Description
      Spawn()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void exampleUsage()  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Spawn

        public Spawn()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • exampleUsage

        private void exampleUsage()
                           throws Pausable,
                                  java.io.EOFException,
                                  java.io.IOException
        Throws:
        Pausable
        java.io.EOFException
        java.io.IOException