Class ProcessingThreads<E extends WorkerThread>


  • public class ProcessingThreads<E extends WorkerThread>
    extends java.lang.Object
    Created: Apr 21, 2009 8:50:50 PM
    Author:
    Artur Hefczyc
    • Constructor Detail

      • ProcessingThreads

        public ProcessingThreads​(E worker,
                                 int numWorkerThreads,
                                 int maxQueueSize,
                                 java.lang.String name)
                          throws java.lang.ClassNotFoundException,
                                 java.lang.InstantiationException,
                                 java.lang.IllegalAccessException
        Throws:
        java.lang.ClassNotFoundException
        java.lang.InstantiationException
        java.lang.IllegalAccessException
    • Method Detail

      • getAverageProcessingTime

        public long getAverageProcessingTime()
      • getDroppedPackets

        public long getDroppedPackets()
      • getName

        public java.lang.String getName()
      • getTotalQueueSize

        public int getTotalQueueSize()
      • getTotalRuns

        public int getTotalRuns()
      • shutdown

        public void shutdown()