public class Akka
extends java.lang.Object
Constructor and Description |
---|
Akka() |
Modifier and Type | Method and Description |
---|---|
static <A> F.Promise<A> |
asPromise(scala.concurrent.Future<A> future)
Deprecated.
Since 2.2. Use
F.Promise.wrap(Future) instead. |
static <T> F.Promise<T> |
future(java.util.concurrent.Callable<T> callable)
Deprecated.
Since 2.2. Use
Promise#promise(Function0) instead. |
static akka.actor.ActorSystem |
system()
Retrieve the application Akka Actor system.
|
static <T> F.Promise<T> |
timeout(java.util.concurrent.Callable<T> callable,
java.lang.Long duration,
java.util.concurrent.TimeUnit unit)
Deprecated.
Since 2.2. Use
Promise#delayed(Function0,long,TimeUnit) instead. |
@Deprecated public static <A> F.Promise<A> asPromise(scala.concurrent.Future<A> future)
F.Promise.wrap(Future)
instead.public static akka.actor.ActorSystem system()
@Deprecated public static <T> F.Promise<T> future(java.util.concurrent.Callable<T> callable)
Promise#promise(Function0)
instead.@Deprecated public static <T> F.Promise<T> timeout(java.util.concurrent.Callable<T> callable, java.lang.Long duration, java.util.concurrent.TimeUnit unit)
Promise#delayed(Function0,long,TimeUnit)
instead.