Quantcast
Channel: How to access parameter of Callable Future after execution? - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Edwin Dalorzo for How to access parameter of Callable Future after...

Although the question has been thoroughly answered I wanted to contribute a few other ideas, and perhaps illustrate some of those already discussed.About Order of Results and BlockingOne interesting...

View Article



Answer by M. Prokhorov for How to access parameter of Callable Future after...

According to Javadoc, every conforming ExecutorService will:@return a list of Futures representing the tasks, in the samesequential order as produced by the iterator for thegiven task list, each of...

View Article

Answer by GhostCat for How to access parameter of Callable Future after...

Keep in mind: that ExecutionException you are catching wraps around an exception that got thrown by the Callable implementation.So if you want to have details in that exception - well, you have to make...

View Article

How to access parameter of Callable Future after execution?

I create some async tasks using Future and Callable<>.Problem: if an Exception occurs during the async execution, I need to access the parameter that was used to build the callable. But...

View Article
Browsing all 4 articles
Browse latest View live


Latest Images