()
| 199 | final K key, final V oldValue) throws Exception { |
| 200 | ListenableFutureTask<V> task = ListenableFutureTask.create(new Callable<V>() { |
| 201 | @Override |
| 202 | public V call() throws Exception { |
| 203 | return loader.reload(key, oldValue).get(); |
| 204 | } |
| 205 | }); |
| 206 | executor.execute(task); |
| 207 | return task; |