[jboss-user] [JCA Development] New message: "JBJCA-260: New WorkManager"
Jesper Pedersen
do-not-reply at jboss.com
Fri Jan 22 15:53:32 EST 2010
User development,
A new message was posted in the thread "JBJCA-260: New WorkManager":
http://community.jboss.org/message/521839#521839
Author : Jesper Pedersen
Profile : http://community.jboss.org/people/jesper.pedersen
Message:
--------------------------------------------------------------
Currently the WorkManager uses the thread pool implementation in JBoss Common. The JBoss Threads project creates a way to define thread pools and their execution parameters to a higher degree.
The new WorkManager implementation should make use of JBoss Threads in order to
1. Provide greater flexibility for thread pool creation
2. Better alignment thread pools in the JBoss Application Server
We need to define datastructures such that the WorkManager API:
http://java.sun.com/javaee/6/docs/api/javax/resource/spi/work/WorkManager.html
can be implemented.
The WorkManager should reference two thread pools at first:
1. Short running tasks (default)
2. Long running tasks (tasks with HintsContext.LONGRUNNING_HINT set)
Later we can add support for additional thread pools with custom JBoss hints - such as LOWPRIORITY_HINT and HIGHPRIORITY_HINT.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/521839#521839
More information about the jboss-user
mailing list