17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
import static com .google .common .util .concurrent .Internal .toNanosSaturated ;
19
19
20
- import com .google .common .annotations .Beta ;
21
20
import com .google .common .annotations .GwtCompatible ;
22
21
import com .google .common .annotations .GwtIncompatible ;
23
22
import com .google .common .annotations .J2ktIncompatible ;
@@ -187,7 +186,6 @@ public final boolean cancel(boolean mayInterruptIfRunning) {
187
186
*/
188
187
@ J2ktIncompatible
189
188
@ Partially .GwtIncompatible ("AVAILABLE but requires exceptionType to be Throwable.class" )
190
- @ Beta
191
189
public final <X extends Throwable > FluentFuture <V > catching (
192
190
Class <X > exceptionType , Function <? super X , ? extends V > fallback , Executor executor ) {
193
191
return (FluentFuture <V >) Futures .catching (this , exceptionType , fallback , executor );
@@ -253,7 +251,6 @@ public final <X extends Throwable> FluentFuture<V> catching(
253
251
*/
254
252
@ J2ktIncompatible
255
253
@ Partially .GwtIncompatible ("AVAILABLE but requires exceptionType to be Throwable.class" )
256
- @ Beta
257
254
public final <X extends Throwable > FluentFuture <V > catchingAsync (
258
255
Class <X > exceptionType , AsyncFunction <? super X , ? extends V > fallback , Executor executor ) {
259
256
return (FluentFuture <V >) Futures .catchingAsync (this , exceptionType , fallback , executor );
@@ -271,7 +268,6 @@ public final <X extends Throwable> FluentFuture<V> catchingAsync(
271
268
*/
272
269
@ J2ktIncompatible
273
270
@ GwtIncompatible // ScheduledExecutorService
274
- @ Beta
275
271
public final FluentFuture <V > withTimeout (
276
272
Duration timeout , ScheduledExecutorService scheduledExecutor ) {
277
273
return withTimeout (toNanosSaturated (timeout ), TimeUnit .NANOSECONDS , scheduledExecutor );
@@ -290,7 +286,6 @@ public final FluentFuture<V> withTimeout(
290
286
@ J2ktIncompatible
291
287
@ GwtIncompatible // ScheduledExecutorService
292
288
@ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
293
- @ Beta
294
289
public final FluentFuture <V > withTimeout (
295
290
long timeout , TimeUnit unit , ScheduledExecutorService scheduledExecutor ) {
296
291
return (FluentFuture <V >) Futures .withTimeout (this , timeout , unit , scheduledExecutor );
@@ -335,7 +330,6 @@ public final FluentFuture<V> withTimeout(
335
330
* @return A future that holds result of the function (if the input succeeded) or the original
336
331
* input's failure (if not)
337
332
*/
338
- @ Beta
339
333
public final <T extends @ Nullable Object > FluentFuture <T > transformAsync (
340
334
AsyncFunction <? super V , T > function , Executor executor ) {
341
335
return (FluentFuture <T >) Futures .transformAsync (this , function , executor );
@@ -373,7 +367,6 @@ public final FluentFuture<V> withTimeout(
373
367
* @param executor Executor to run the function in.
374
368
* @return A future that holds result of the transformation.
375
369
*/
376
- @ Beta
377
370
public final <T extends @ Nullable Object > FluentFuture <T > transform (
378
371
Function <? super V , T > function , Executor executor ) {
379
372
return (FluentFuture <T >) Futures .transform (this , function , executor );
0 commit comments