org.kuali.rice.ksb.messaging.threadpool
Interface KSBThreadPool

All Superinterfaces:
Executor, ExecutorService, Lifecycle
All Known Implementing Classes:
KSBThreadPoolImpl

public interface KSBThreadPool
extends ExecutorService, Lifecycle

A thread pool which can be used to schedule asynchronous tasks.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 int getActiveCount()
           
 long getCompletedTaskCount()
           
 int getCorePoolSize()
           
 Object getInstance()
           
 long getKeepAliveTime()
           
 int getLargestPoolSize()
           
 int getMaximumPoolSize()
           
 int getPoolSize()
           
 BlockingQueue getQueue()
           
 long getTaskCount()
           
 boolean remove(Runnable task)
           
 void setCorePoolSize(int corePoolSize)
           
 void setMaximumPoolSize(int maxPoolSize)
           
 
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
 
Methods inherited from interface org.kuali.rice.core.api.lifecycle.Lifecycle
isStarted, start, stop
 

Method Detail

remove

boolean remove(Runnable task)

getActiveCount

int getActiveCount()

setCorePoolSize

void setCorePoolSize(int corePoolSize)

getCorePoolSize

int getCorePoolSize()

getMaximumPoolSize

int getMaximumPoolSize()

setMaximumPoolSize

void setMaximumPoolSize(int maxPoolSize)

getPoolSize

int getPoolSize()

getLargestPoolSize

int getLargestPoolSize()

getKeepAliveTime

long getKeepAliveTime()

getTaskCount

long getTaskCount()

getCompletedTaskCount

long getCompletedTaskCount()

getQueue

BlockingQueue getQueue()

getInstance

Object getInstance()


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