mocks
Class MockKSBThreadPool

java.lang.Object
  extended by java.util.concurrent.AbstractExecutorService
      extended by java.util.concurrent.ThreadPoolExecutor
          extended by org.kuali.rice.ksb.messaging.threadpool.KSBThreadPoolImpl
              extended by mocks.MockKSBThreadPool
All Implemented Interfaces:
Executor, ExecutorService, Lifecycle, KSBThreadPool

public class MockKSBThreadPool
extends KSBThreadPoolImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
 
Field Summary
 
Fields inherited from class org.kuali.rice.ksb.messaging.threadpool.KSBThreadPoolImpl
DEFAULT_POOL_SIZE
 
Constructor Summary
MockKSBThreadPool(int corePoolSize)
           
 
Method Summary
 
Methods inherited from class org.kuali.rice.ksb.messaging.threadpool.KSBThreadPoolImpl
getInstance, getKeepAliveTime, isStarted, loadSettings, setCorePoolSize, start, stop
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, 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
 
Methods inherited from interface org.kuali.rice.ksb.messaging.threadpool.KSBThreadPool
getActiveCount, getCompletedTaskCount, getCorePoolSize, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getTaskCount, remove, setMaximumPoolSize
 
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
 
Methods inherited from interface java.util.concurrent.Executor
execute
 

Constructor Detail

MockKSBThreadPool

public MockKSBThreadPool(int corePoolSize)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.