Class AskPattern$

  • Type Parameters:
    Req - The request protocol, what the other actor accepts
    Res - The response protocol, what the other actor sends back

    public class AskPattern$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static AskPattern$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      AskPattern$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <Req,​Res>
      java.util.concurrent.CompletionStage<Res>
      ask​(RecipientRef<Req> actor, Function<ActorRef<Res>,​Req> messageFactory, java.time.Duration timeout, Scheduler scheduler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final AskPattern$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • AskPattern$

        public AskPattern$()
    • Method Detail

      • ask

        public <Req,​Res> java.util.concurrent.CompletionStage<Res> ask​(RecipientRef<Req> actor,
                                                                             Function<ActorRef<Res>,​Req> messageFactory,
                                                                             java.time.Duration timeout,
                                                                             Scheduler scheduler)