Package akka.pattern

Class FutureRefImpl<T>

  • All Implemented Interfaces:
    FutureRef<T>

    public final class FutureRefImpl<T>
    extends java.lang.Object
    implements FutureRef<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      FutureRefImpl​(ActorRef ref, scala.concurrent.Future<T> future)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.concurrent.Future<T> future()
      Future associated with this FutureRef.
      ActorRef ref()
      ActorRef associated with this FutureRef.
      • Methods inherited from class java.lang.Object

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

      • FutureRefImpl

        public FutureRefImpl​(ActorRef ref,
                             scala.concurrent.Future<T> future)
    • Method Detail

      • future

        public scala.concurrent.Future<T> future()
        Description copied from interface: FutureRef
        Future associated with this FutureRef.
        Specified by:
        future in interface FutureRef<T>
        Returns:
        (undocumented)
      • ref

        public ActorRef ref()
        Description copied from interface: FutureRef
        ActorRef associated with this FutureRef.
        Specified by:
        ref in interface FutureRef<T>
        Returns:
        (undocumented)