org.mobicents.mgcp.stack
Class ThreadPoolQueueExecutor

java.lang.Object
  extended by java.util.concurrent.AbstractExecutorService
      extended by java.util.concurrent.ThreadPoolExecutor
          extended by org.mobicents.mgcp.stack.ThreadPoolQueueExecutor
All Implemented Interfaces:
java.util.concurrent.Executor, java.util.concurrent.ExecutorService

public class ThreadPoolQueueExecutor
extends java.util.concurrent.ThreadPoolExecutor

Start time:14:49:14 2008-11-21
Project: mobicents-media-server-controllers

Author:
baranowb - Bartosz Baranowski

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
 
Constructor Summary
ThreadPoolQueueExecutor(int threads, int maxThreads, java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue)
           
 
Method Summary
 java.util.concurrent.BlockingQueue<java.lang.Runnable> getQueue()
           
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
afterExecute, awaitTermination, beforeExecute, execute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated
 
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPoolQueueExecutor

public ThreadPoolQueueExecutor(int threads,
                               int maxThreads,
                               java.util.concurrent.BlockingQueue<java.lang.Runnable> workQueue)
Method Detail

getQueue

public java.util.concurrent.BlockingQueue<java.lang.Runnable> getQueue()
Overrides:
getQueue in class java.util.concurrent.ThreadPoolExecutor


Copyright © 2009. All Rights Reserved.