Class BatchHandlerQueue<T extends Event>

  • Type Parameters:
    T - Subclass of Event

    public class BatchHandlerQueue<T extends Event>
    extends java.lang.Object
    Each Trigger instantiate a ForwardQueue
    • Constructor Summary

      Constructors 
      Constructor Description
      BatchHandlerQueue​(int queueNumber, int queueSize, int batchSize, Handler handler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean offer​(T event)  
      void put​(T event)  
      • Methods inherited from class java.lang.Object

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

      • BatchHandlerQueue

        public BatchHandlerQueue​(int queueNumber,
                                 int queueSize,
                                 int batchSize,
                                 Handler handler)
    • Method Detail

      • offer

        public boolean offer​(T event)
      • put

        public void put​(T event)
                 throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException