Class ThriftFutures
java.lang.Object
com.linecorp.armeria.common.thrift.ThriftFutures
@Deprecated public final class ThriftFutures extends Object
Deprecated.
Use the static factory methods in
ThriftFuture or ThriftListenableFuture.Static factory methods pertaining to the
ThriftCompletableFuture and ThriftListenableFuture.-
Method Summary
Modifier and Type Method Description static <T> ThriftCompletableFuture<T>failedCompletedFuture(Exception e)Deprecated.static <T> ThriftListenableFuture<T>failedListenableFuture(Exception e)Deprecated.static <T> ThriftCompletableFuture<T>successfulCompletedFuture(T value)Deprecated.static <T> ThriftListenableFuture<T>successfulListenableFuture(T value)Deprecated.
-
Method Details
-
successfulCompletedFuture
Deprecated.Returns a newThriftCompletableFutureinstance that has its value set immediately. -
failedCompletedFuture
Deprecated.Returns a newThriftCompletableFutureinstance that has an exception set immediately. -
successfulListenableFuture
Deprecated.Returns a newThriftListenableFutureinstance that has its value set immediately. -
failedListenableFuture
Deprecated.Returns a newThriftListenableFutureinstance that has an exception set immediately.
-