V
- value type returned by the future.public static class Future extends Object
#get()
or #get(long, TimeUnit)
when the it is not yet done is
considered illegal because it would lead to a deadlock. Future implementations must throw IllegalStateException
to avoid a deadlock.Copyright © 2018. All rights reserved.