|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.libs.Akka
public class Akka
Helper to access the application defined Akka Actor system.
Constructor Summary | |
---|---|
Akka()
|
Method Summary | ||
---|---|---|
static
|
asPromise(akka.dispatch.Future<A> akkaFuture)
Transform this Akka future to a Play Promise. |
|
static
|
future(java.util.concurrent.Callable<T> callable)
Executes a block of code asynchronously in the application Akka Actor system. |
|
static akka.actor.ActorSystem |
system()
Retrieve the application Akka Actor system. |
|
static
|
timeout(java.util.concurrent.Callable<T> callable,
java.lang.Long duration,
java.util.concurrent.TimeUnit unit)
Returns a Promise which is redeemed after a period of time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Akka()
Method Detail |
---|
public static <A> F.Promise<A> asPromise(akka.dispatch.Future<A> akkaFuture)
public static akka.actor.ActorSystem system()
public static <T> F.Promise<T> future(java.util.concurrent.Callable<T> callable)
public static <T> F.Promise<T> timeout(java.util.concurrent.Callable<T> callable, java.lang.Long duration, java.util.concurrent.TimeUnit unit)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |