Class Slot

  • All Implemented Interfaces:
    java.lang.Runnable

    public class Slot
    extends java.lang.Object
    implements java.lang.Runnable
    Worker which consumes from the Queue.
    • Constructor Summary

      Constructors 
      Constructor Description
      Slot​(Queue q)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • Slot

        public Slot​(Queue q)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable