jason.service.pool
Interface ThreadPoolInt

All Known Implementing Classes:
ThreadPool

public interface ThreadPoolInt

This interface is implemented by the class which shall be the main engine for thread pool in this case ThreadPool.
Author - Sanjay"Ironluca"Debnath Ironluca@yahoo.com
Last Modified - 9/03/2001


Method Summary
 int getActivePoolSize()
          For features of this method consult the ThreadPool class which implements this interface.
 int getPassivePoolSize()
          For features of this method consult the ThreadPool class which implements this interface.
 ThreadCapsuleInt getThreadCapsule()
          For features of this method consult the ThreadPool class which implements this interface.
 java.lang.Class getThreadClass()
          For features of this method consult the ThreadPool class which implements this interface.
 int getTotalPoolSize()
          For features of this method consult the ThreadPool class which implements this interface.
 boolean isPoolLocked()
          For features of this method consult the ThreadPool class which implements this interface.
 void setPoolLocked(boolean lockingState)
          For features of this method consult the ThreadPool class which implements this interface.
 void setThreadClass(java.lang.Class threadClass, int totalPoolSize)
          For features of this method consult the ThreadPool class which implements this interface.
 void setTotalPoolSize(int totalPoolSize)
          For features of this method consult the ThreadPool class which implements this interface.
 

Method Detail

getThreadClass

public java.lang.Class getThreadClass()
For features of this method consult the ThreadPool class which implements this interface.


getTotalPoolSize

public int getTotalPoolSize()
For features of this method consult the ThreadPool class which implements this interface.


setTotalPoolSize

public void setTotalPoolSize(int totalPoolSize)
                      throws ClientsUnderServiceException,
                             IllegalClassException,
                             java.lang.IllegalAccessException,
                             java.lang.InstantiationException
For features of this method consult the ThreadPool class which implements this interface.

ClientsUnderServiceException
IllegalClassException
java.lang.IllegalAccessException
java.lang.InstantiationException

getActivePoolSize

public int getActivePoolSize()
For features of this method consult the ThreadPool class which implements this interface.


getPassivePoolSize

public int getPassivePoolSize()
For features of this method consult the ThreadPool class which implements this interface.


isPoolLocked

public boolean isPoolLocked()
For features of this method consult the ThreadPool class which implements this interface.


setPoolLocked

public void setPoolLocked(boolean lockingState)
For features of this method consult the ThreadPool class which implements this interface.


getThreadCapsule

public ThreadCapsuleInt getThreadCapsule()
For features of this method consult the ThreadPool class which implements this interface.


setThreadClass

public void setThreadClass(java.lang.Class threadClass,
                           int totalPoolSize)
                    throws IllegalClassException,
                           java.lang.IllegalAccessException,
                           java.lang.InstantiationException
For features of this method consult the ThreadPool class which implements this interface.

IllegalClassException
java.lang.IllegalAccessException
java.lang.InstantiationException