org.mobicents.protocols.mgcp.stack
Class ThreadPoolQueueExecutor

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

public class ThreadPoolQueueExecutor
extends ThreadPoolExecutor

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

Author:
baranowb

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
 
Constructor Summary
ThreadPoolQueueExecutor(int threads, int maxThreads, BlockingQueue<Runnable> workQueue)
           
 
Method Summary
 BlockingQueue<Runnable> getQueue()
           
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, 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, newTaskFor, newTaskFor, 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,
                               BlockingQueue<Runnable> workQueue)
Method Detail

getQueue

public BlockingQueue<Runnable> getQueue()
Overrides:
getQueue in class ThreadPoolExecutor


Copyright © 2012 TeleStax, Inc.. All Rights Reserved.