1228 protected abstract void setRawResult(V value); |
1228 protected abstract void setRawResult(V value); |
1229 |
1229 |
1230 /** |
1230 /** |
1231 * Immediately performs the base action of this task and returns |
1231 * Immediately performs the base action of this task and returns |
1232 * true if, upon return from this method, this task is guaranteed |
1232 * true if, upon return from this method, this task is guaranteed |
1233 * to have completed normally. This method may return false |
1233 * to have completed. This method may return false otherwise, to |
1234 * otherwise, to indicate that this task is not necessarily |
1234 * indicate that this task is not necessarily complete (or is not |
1235 * complete (or is not known to be complete), for example in |
1235 * known to be complete), for example in asynchronous actions that |
1236 * asynchronous actions that require explicit invocations of |
1236 * require explicit invocations of completion methods. This method |
1237 * completion methods. This method may also throw an (unchecked) |
1237 * may also throw an (unchecked) exception to indicate abnormal |
1238 * exception to indicate abnormal exit. This method is designed to |
1238 * exit. This method is designed to support extensions, and should |
1239 * support extensions, and should not in general be called |
1239 * not in general be called otherwise. |
1240 * otherwise. |
|
1241 * |
1240 * |
1242 * @return {@code true} if this task is known to have completed normally |
1241 * @return {@code true} if this task is known to have completed normally |
1243 */ |
1242 */ |
1244 protected abstract boolean exec(); |
1243 protected abstract boolean exec(); |
1245 |
1244 |