Package akka.actor

Class TypedActorExtension

    • Method Detail

      • DefaultReturnTimeout

        public final Timeout DefaultReturnTimeout()
        Default timeout for typed actor methods with non-void return type
        Returns:
        (undocumented)
      • createActorRefProxy

        public <R,​T extends R> R createActorRefProxy​(TypedProps<T> props,
                                                           java.util.concurrent.atomic.AtomicReference<R> proxyVar,
                                                           scala.Function0<ActorRef> actorRef)
        INTERNAL API
        Parameters:
        props - (undocumented)
        proxyVar - (undocumented)
        actorRef - (undocumented)
        Returns:
        (undocumented)
      • getActorRefFor

        public ActorRef getActorRefFor​(java.lang.Object proxy)
        Retrieves the underlying ActorRef for the supplied TypedActor proxy, or null if none found
        Specified by:
        getActorRefFor in interface TypedActorFactory
        Parameters:
        proxy - (undocumented)
        Returns:
        (undocumented)
      • invocationHandlerFor

        public TypedActor.TypedActorInvocationHandler invocationHandlerFor​(java.lang.Object typedActor)
        INTERNAL API
        Parameters:
        typedActor - (undocumented)
        Returns:
        (undocumented)
      • isTypedActor

        public boolean isTypedActor​(java.lang.Object proxyOrNot)
        Returns whether the supplied AnyRef is a TypedActor proxy or not
        Specified by:
        isTypedActor in interface TypedActorFactory
        Parameters:
        proxyOrNot - (undocumented)
        Returns:
        (undocumented)