Package com.sun.corba.ee.spi.threadpool
Interface ThreadPoolChooser
public interface ThreadPoolChooser
-
Method Summary
Modifier and TypeMethodDescriptionThis method is used to return an instance of ThreadPool based on the strategy/policy implemented in the ThreadPoolChooser from the set of ThreadPools allowed to be used by the ORB.getThreadPool
(int id) This method is used to return an instance of ThreadPool that is obtained by using the id argument passed to it.String[]
This method is a convenience method to see what threadpool-ids are being used by the ThreadPoolChooser
-
Method Details
-
getThreadPool
ThreadPool getThreadPool()This method is used to return an instance of ThreadPool based on the strategy/policy implemented in the ThreadPoolChooser from the set of ThreadPools allowed to be used by the ORB. Typically, the set of ThreadPools would be specified by passing the threadpool-ids configured in the ORB element of the domain.xml of the appserver. -
getThreadPool
This method is used to return an instance of ThreadPool that is obtained by using the id argument passed to it. This method will be used in situations where the threadpool id is known to the caller e.g. by the connection object or looking at the high order bits of the request id -
getThreadPoolIds
String[] getThreadPoolIds()This method is a convenience method to see what threadpool-ids are being used by the ThreadPoolChooser
-