[concurrency-interest] Accessing original callable object from a Future?

Kevin Regan regank at google.com
Mon Jun 23 19:41:38 EDT 2014

Sometimes, I find the need to be able to access the original Callable
object from a Future.  It seems like this requires the a keep a map from
Future to the original Callable value (and assuming that
ExecutionCompletionService returns the same Future in take() as in

Has there been any thought into possibly making this task easier?  Possibly
some way of connecting some identifying information with the Future?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20140623/62460858/attachment.html>

More information about the Concurrency-interest mailing list