Searched refs:oldFuture (Results 1 – 1 of 1) sorted by relevance
73 final ListenableFuture<?> oldFuture = ref.getAndSet(newFuture); in submitAsync() local78 Futures.submitAsync(task, runnable -> oldFuture.addListener(runnable, executor))); in submitAsync()89 newFuture.setFuture(oldFuture); in submitAsync()