Example usage for org.springframework.util.concurrent ListenableFuture get

List of usage examples for org.springframework.util.concurrent ListenableFuture get

Introduction

In this page you can find the example usage for org.springframework.util.concurrent ListenableFuture get.

Prototype

V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException;

Source Link

Document

Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.

Usage