public class S1ASThreadPoolManager extends Object implements com.sun.corba.ee.spi.threadpool.ThreadPoolManager
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.sun.corba.ee.spi.threadpool.ThreadPool |
getDefaultThreadPool()
Returns the first instance of ThreadPool in the ThreadPoolManager
|
com.sun.corba.ee.spi.threadpool.ThreadPool |
getThreadPool(int numericIdForThreadpool)
This method will return an instance of the threadpool given a numeric threadpoolId.
|
com.sun.corba.ee.spi.threadpool.ThreadPool |
getThreadPool(String id)
This method will return an instance of the threadpool given a threadpoolId,
that can be used by any component in the app.
|
com.sun.corba.ee.spi.threadpool.ThreadPoolChooser |
getThreadPoolChooser(int componentIndex)
Return an instance of ThreadPoolChooser based on the componentIndex that was
passed as argument.
|
com.sun.corba.ee.spi.threadpool.ThreadPoolChooser |
getThreadPoolChooser(String componentId)
Return an instance of ThreadPoolChooser based on the componentId that was
passed as argument
|
int |
getThreadPoolChooserNumericId(String componentId)
Gets the numeric index associated with the componentId specified for a
ThreadPoolChooser.
|
static com.sun.corba.ee.spi.threadpool.ThreadPoolManager |
getThreadPoolManager() |
int |
getThreadPoolNumericId(String id)
This method is used to return the numeric id of the threadpool, given a String
threadpoolId.
|
String |
getThreadPoolStringId(int numericIdForThreadpool)
Return a String Id for a numericId of a threadpool managed by the threadpool
manager
|
void |
setThreadPoolChooser(String componentId,
com.sun.corba.ee.spi.threadpool.ThreadPoolChooser aThreadPoolChooser)
Sets a ThreadPoolChooser for a particular componentId in the ThreadPoolManager.
|
public static com.sun.corba.ee.spi.threadpool.ThreadPoolManager getThreadPoolManager()
public com.sun.corba.ee.spi.threadpool.ThreadPool getThreadPool(String id) throws com.sun.corba.ee.spi.threadpool.NoSuchThreadPoolException
getThreadPool in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagercom.sun.corba.ee.spi.threadpool.NoSuchThreadPoolException - thrown when invalid threadpoolId is passed
as a parameterpublic com.sun.corba.ee.spi.threadpool.ThreadPool getThreadPool(int numericIdForThreadpool)
throws com.sun.corba.ee.spi.threadpool.NoSuchThreadPoolException
getThreadPool in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagercom.sun.corba.ee.spi.threadpool.NoSuchThreadPoolException - thrown when invalidnumericIdForThreadpool is passed
as a parameterpublic int getThreadPoolNumericId(String id)
getThreadPoolNumericId in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic String getThreadPoolStringId(int numericIdForThreadpool)
getThreadPoolStringId in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic com.sun.corba.ee.spi.threadpool.ThreadPool getDefaultThreadPool()
getDefaultThreadPool in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic com.sun.corba.ee.spi.threadpool.ThreadPoolChooser getThreadPoolChooser(String componentId)
getThreadPoolChooser in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic com.sun.corba.ee.spi.threadpool.ThreadPoolChooser getThreadPoolChooser(int componentIndex)
getThreadPoolChooser in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic void setThreadPoolChooser(String componentId, com.sun.corba.ee.spi.threadpool.ThreadPoolChooser aThreadPoolChooser)
setThreadPoolChooser in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic int getThreadPoolChooserNumericId(String componentId)
getThreadPoolChooserNumericId in interface com.sun.corba.ee.spi.threadpool.ThreadPoolManagerpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017. All rights reserved.