futures
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| futures [2026/07/10 07:33] – created carl | futures [2026/07/10 07:43] (current) – carl | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Futures ====== | ====== Futures ====== | ||
| - | Futures are a complex, heterogeneous feature. | + | Futures are a complex, heterogeneous feature. |
| A future has 3 parties involved in the lifecycle. | A future has 3 parties involved in the lifecycle. | ||
| Line 9: | Line 9: | ||
| - The Waiter. | - The Waiter. | ||
| - | In a typical scenario, these three parties are different threads, meaning there is a high amount of coordination between them. | + | In a typical scenario, these three parties are different threads, meaning there is a high amount of coordination between them. |
| + | |||
| + | <code java> | ||
| + | Future< | ||
| + | future.get(); | ||
| + | </ | ||
| + | |||
| + | The party that creates the '' | ||
futures.1783668835.txt.gz · Last modified: by carl
