Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6445163
Votes 0
Synopsis TimeoutExecutor
Category java:classes_util_concurrent
Reported Against
Release Fixed
State 3-Accepted, request for enhancement
Priority: 3-Medium
Related Bugs
Submit Date 29-JUN-2006
Description
From Doug Lea's TODO list:

5. TimeoutExecutor (or some better name)
    A custom executor with method something like:
      Future submit(Runnable mainTask, Runnable timeoutTask, long time, TimeUnit)
    This sets mainTask in motion. If it does not complete within time,
    it is cancelled and timeoutTask runs (among several variations).
    This can use custom internal queue that doesn't have all the problems
    encountered in this usage pattern by those inside Timer and
    ScheduledThreadPoolExecutor, JSR203 is very likely to ask us to
    develop these for use in async IO, where they may become heavily used.
Posted Date : 2006-06-29 16:48:39.0
Work Around
N/A
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang