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