diff options
| author | 2020-01-17 16:25:21 +0000 | |
|---|---|---|
| committer | 2020-01-17 16:25:21 +0000 | |
| commit | 09b69c8568f78d9e91578d728576c65708a8c071 (patch) | |
| tree | 90890320acdb38f68bb576575da56809cee0c997 | |
| parent | c764cb634d830bbf174c26f04d6d89d316085cf7 (diff) | |
Track addition of Flow.* to the public API.
Bug: 129875045
Test: Treehugger
Change-Id: I259713e4068acc14860a570b92e85d5446e6ee22
| -rw-r--r-- | api/current.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index bdb0c8ac486d..9f197385c5f5 100644 --- a/api/current.txt +++ b/api/current.txt @@ -72222,6 +72222,29 @@ package java.util.concurrent { method public static java.util.concurrent.ScheduledExecutorService unconfigurableScheduledExecutorService(java.util.concurrent.ScheduledExecutorService); } + public final class Flow { + method public static int defaultBufferSize(); + } + + public static interface Flow.Processor<T, R> extends java.util.concurrent.Flow.Subscriber<T> java.util.concurrent.Flow.Publisher<R> { + } + + @java.lang.FunctionalInterface public static interface Flow.Publisher<T> { + method public void subscribe(java.util.concurrent.Flow.Subscriber<? super T>); + } + + public static interface Flow.Subscriber<T> { + method public void onComplete(); + method public void onError(Throwable); + method public void onNext(T); + method public void onSubscribe(java.util.concurrent.Flow.Subscription); + } + + public static interface Flow.Subscription { + method public void cancel(); + method public void request(long); + } + public class ForkJoinPool extends java.util.concurrent.AbstractExecutorService { ctor public ForkJoinPool(); ctor public ForkJoinPool(int); |