com.cyc.tool.subl.jrtl.nativeCode.subLisp
Class SubLThreadPool

java.lang.Object
  extended by java.util.concurrent.AbstractExecutorService
      extended by java.util.concurrent.ThreadPoolExecutor
          extended by com.cyc.tool.subl.jrtl.nativeCode.subLisp.SubLThreadPool
All Implemented Interfaces:
java.util.concurrent.Executor, java.util.concurrent.ExecutorService

public final class SubLThreadPool
extends java.util.concurrent.ThreadPoolExecutor

SubLThreadPool is designed to...

Copyright (c) 2004 - 2006 Cycorp, Inc. All rights reserved.
This software is the proprietary information of Cycorp, Inc.

Use is subject to license terms.

Version:
$Id: SubLThreadPool.java 127501 2009-03-30 20:35:37Z tbrussea $
Author:
tbrussea

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
SubLThreadPool()
          Creates a new instance of SubLThreadPool.
 
Method Summary
 void execute(java.lang.Runnable runnable)
          ensure we only run the right type of runnables
static SubLThreadPool getDefaultPool()
           
static java.lang.ThreadGroup getDefaultThreadGroup()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow
 
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubLThreadPool

public SubLThreadPool()
Creates a new instance of SubLThreadPool.

Method Detail

getDefaultPool

public static SubLThreadPool getDefaultPool()

getDefaultThreadGroup

public static java.lang.ThreadGroup getDefaultThreadGroup()

execute

public void execute(java.lang.Runnable runnable)
ensure we only run the right type of runnables

Specified by:
execute in interface java.util.concurrent.Executor
Overrides:
execute in class java.util.concurrent.ThreadPoolExecutor

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments