Class ExplicitAsk
java.lang.Object
org.opendaylight.controller.cluster.common.actor.ExplicitAsk
Deprecated, for removal: This API element is subject to removal in a future version.
Unfortunately Akka's explicit ask pattern does not work with its Java API, as it fails to invoke passed message.
In order to make this work for now, we tap directly into ExplicitAskSupport and use a Scala function instead
of akka.japi.Function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic scala.concurrent.Future
<Object> Deprecated, for removal: This API element is subject to removal in a future version.static scala.concurrent.Future
<Object> Deprecated, for removal: This API element is subject to removal in a future version.static scala.concurrent.Future
<Object> ask
(ActorSelection actor, Function<ActorRef, ?> function, Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version.static scala.concurrent.Future
<Object> ask
(ActorSelection actor, scala.Function1<ActorRef, ?> function, Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version.static <T> scala.Function1
<ActorRef, T> Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
toScala
Deprecated, for removal: This API element is subject to removal in a future version. -
ask
public static scala.concurrent.Future<Object> ask(ActorRef actor, scala.Function1<ActorRef, ?> function, Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version. -
ask
public static scala.concurrent.Future<Object> ask(ActorSelection actor, scala.Function1<ActorRef, ?> function, Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version. -
ask
public static scala.concurrent.Future<Object> ask(ActorRef actor, Function<ActorRef, ?> function, Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version. -
ask
public static scala.concurrent.Future<Object> ask(ActorSelection actor, Function<ActorRef, ?> function, Timeout timeout) Deprecated, for removal: This API element is subject to removal in a future version.
-