Issue Details (XML | Word | Printable)

Key: GRAILSPLUGINS-528
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Robert Fischer
Reporter: Robert Fischer
Votes: 5
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Grails Plugins

Implement a Hook to Use Executors

Created: 10/Oct/08 06:06 PM   Updated: 25/Jan/10 05:19 PM
Return to search
Component/s: Grails-BackgroundThread
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: 16 hours
Original Estimate - 16 hours
Remaining Estimate: 16 hours
Remaining Estimate - 16 hours
Time Spent: Not Specified
Time Spent - Not Specified


 Description  « Hide

Refactor the current implementation to use Java's "Executor" framework. This should enable people to use Java's advanced Executor implementations instead of the built-in flat thread pool we're currently using. The current behavior (block while queue is full) would have to be implemented as a RejectedTaskHandler.



Ewan Dawson added a comment - 25/Jan/10 05:19 PM

I would like to see the bgThreadManager bean implement the Executor interface, so I can use it as a TaskExecutor with Spring Batch 2.1