[concurrency-interest] Calling Future.get() after calling Future.cancel() returned false

Peter Kovacs peter.kovacs.1.0rc at gmail.com
Thu Mar 1 11:01:20 EST 2007


Hi,

Does it make sense to call Future.get() after calling Future.cancel()
returned false? My purpose is to reap any potential exception that may
have been thrown during task execution. Is Future.cancel() and
idempotent operation on Future instances already completed (before
cancel() was called on them)?

Thanks
Peter


More information about the Concurrency-interest mailing list