|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommunicationsPoolService
This class is a pool that manages communications services that implement CommonCommunications interface.
Method Summary | |
---|---|
boolean |
areAllServicesOffline()
Returns true is all services are online. |
void |
closeAll()
Executes ccClose method of every pool element. |
int |
getCleanupTime()
Returns the cleanupTime attribute. |
boolean |
getIdenticalElements()
Returns the identicalElements attribute. |
int |
getMaxPoolSize()
Returns the maxPoolSize attribute. |
CommonCommunicationsService |
getPoolService()
This method returns the first free service of the pool, and in SEND state. |
int |
getSize()
Returns the size attribute. |
int |
getSpare()
Returns the spare attribute. |
Tag |
getTag()
Returns the tag attribute. |
long |
getTimeBetweenRetries()
Returns the timeBetweenRetries attribute. |
void |
insertService(CommonCommunicationsService aService)
Inserts a service in the pool. |
void |
openAll()
Executes ccOpen method of every pool element. |
void |
releasePoolService(CommonCommunicationsService aService)
Free service to be reused. |
void |
removeService(CommonCommunicationsService aService)
Removes aService from the pool. |
void |
setCleanupTime(int aTime)
Sets cleanupTime attribute value. |
void |
setIdenticalElements(boolean aBoolean)
Sets identicalElements attribute value. |
void |
setMaxPoolSize(int aMaxPoolSize)
Sets maxPoolSize attribute value. |
void |
setSize(int aSize)
Sets size attribute value. |
void |
setSpare(int aSpare)
Sets spare attribute value. |
void |
setTag(Tag aTag)
Sets tag attribute value. |
void |
setTimeBetweenRetries(int aTime)
Sets timeBetweenRetries attribute value. |
void |
terminate()
This is a housekeeping process for Notifier instances. |
Method Detail |
---|
boolean areAllServicesOffline()
void closeAll()
int getCleanupTime()
boolean getIdenticalElements()
int getMaxPoolSize()
CommonCommunicationsService getPoolService()
int getSize()
int getSpare()
Tag getTag()
long getTimeBetweenRetries()
void insertService(CommonCommunicationsService aService)
aSession
- com.ibm.btt.services.comms.CommonCommunicationsService.void openAll()
void releasePoolService(CommonCommunicationsService aService)
aSession
- com.ibm.btt.services.comms.CommonCommunicationsServicevoid removeService(CommonCommunicationsService aService)
aSession
- com.ibm.btt.services.comms.CommonCommunicationsServicevoid setCleanupTime(int aTime)
void setIdenticalElements(boolean aBoolean)
void setMaxPoolSize(int aMaxPoolSize)
void setSize(int aSize)
void setSpare(int aSpare)
void setTag(Tag aTag)
void setTimeBetweenRetries(int aTime)
void terminate()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |