-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
XiangcongMeng
committed
Jun 30, 2024
1 parent
78c524d
commit 22e25d6
Showing
2 changed files
with
180 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: Java 多线程 API 笔记(待填坑) | ||
date: 2024-06-30 22:47:12 | ||
tags: [Java, 多线程, API] | ||
categories: [笔记, Java] | ||
author: 苏 | ||
# type: yuque | ||
# hide: true | ||
--- | ||
|
||
## 除了要理解 Java 多线程的内存模型,还要熟悉相关的 Java API,最好能再看下多线程工具实现的源码。 | ||
|
||
<!-- more --> | ||
|
||
## java.util.concurrent.CompletableFuture | ||
|
||
```java | ||
public class CompletableFuture<T> implements Future<T>, CompletionStage<T> | ||
// Since 1.8 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters