Package org.apache.pekko.util
Class FutureConverters
- java.lang.Object
-
- org.apache.pekko.util.FutureConverters
-
public class FutureConverters extends java.lang.Object
INTERNAL APIRemove this once Scala 2.12 support is dropped since all methods are in Scala 2.13+ stdlib
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FutureConverters.CompletionStageOps<T>
static class
FutureConverters.CompletionStageOps$
static class
FutureConverters.FutureOps<T>
static class
FutureConverters.FutureOps$
-
Constructor Summary
Constructors Constructor Description FutureConverters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.concurrent.CompletionStage<T>
asJava(scala.concurrent.Future<T> f)
static <T> scala.concurrent.Future<T>
asScala(java.util.concurrent.CompletionStage<T> cs)
static <T> FutureConverters.CompletionStageOps<T>
CompletionStageOps(java.util.concurrent.CompletionStage<T> cs)
static <T> FutureConverters.FutureOps<T>
FutureOps(scala.concurrent.Future<T> f)
-
-
-
Method Detail
-
asJava
public static final <T> java.util.concurrent.CompletionStage<T> asJava(scala.concurrent.Future<T> f)
-
FutureOps
public static final <T> FutureConverters.FutureOps<T> FutureOps(scala.concurrent.Future<T> f)
-
asScala
public static final <T> scala.concurrent.Future<T> asScala(java.util.concurrent.CompletionStage<T> cs)
-
CompletionStageOps
public static final <T> FutureConverters.CompletionStageOps<T> CompletionStageOps(java.util.concurrent.CompletionStage<T> cs)
-
-