Class ReliableProxy

    • Constructor Detail

      • ReliableProxy

        public ReliableProxy​(ActorPath targetPath,
                             scala.concurrent.duration.FiniteDuration retryAfter,
                             scala.Option<scala.concurrent.duration.FiniteDuration> reconnectAfter,
                             scala.Option<java.lang.Object> maxConnectAttempts)
        Deprecated.
    • Method Detail

      • props

        public static Props props​(ActorPath targetPath,
                                  scala.concurrent.duration.FiniteDuration retryAfter,
                                  scala.Option<scala.concurrent.duration.FiniteDuration> reconnectAfter,
                                  scala.Option<java.lang.Object> maxReconnects)
        Deprecated.
      • props

        public static Props props​(ActorPath targetPath,
                                  scala.concurrent.duration.FiniteDuration retryAfter,
                                  scala.concurrent.duration.FiniteDuration reconnectAfter,
                                  int maxReconnects)
        Deprecated.
        Java API Props. Arguments are detailed in the ReliableProxy constructor.
        Parameters:
        targetPath - (undocumented)
        retryAfter - (undocumented)
        reconnectAfter - (undocumented)
        maxReconnects - (undocumented)
        Returns:
        (undocumented)
      • props

        public static Props props​(ActorPath targetPath,
                                  scala.concurrent.duration.FiniteDuration retryAfter,
                                  scala.concurrent.duration.FiniteDuration reconnectAfter)
        Deprecated.
        Props with no limit on reconnections. Arguments are detailed in the ReliableProxy constructor.
        Parameters:
        targetPath - (undocumented)
        retryAfter - (undocumented)
        reconnectAfter - (undocumented)
        Returns:
        (undocumented)
      • props

        public static Props props​(ActorPath targetPath,
                                  scala.concurrent.duration.FiniteDuration retryAfter)
        Deprecated.
        Props with no reconnections. Arguments are detailed in the ReliableProxy constructor.
        Parameters:
        targetPath - (undocumented)
        retryAfter - (undocumented)
        Returns:
        (undocumented)
      • compare

        public static int compare​(int a,
                                  int b)
        Deprecated.
      • receiver

        public static Props receiver​(ActorRef target,
                                     int currentSerial)
        Deprecated.
      • context

        public ActorContext context()
        Deprecated.
        Description copied from interface: Actor
        Scala API: Stores the context for this actor, including self, and sender. It is implicit to support operations such as forward.

        WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!

        ActorContext is the Scala API. getContext returns a AbstractActor.ActorContext, which is the Java API of the actor context.

        Specified by:
        context in interface Actor
        Returns:
        (undocumented)
      • self

        public final ActorRef self()
        Deprecated.
        Description copied from interface: Actor
        The 'self' field holds the ActorRef for this actor.

        Can be used to send messages to itself:
         self ! message
         
        Specified by:
        self in interface Actor
        Returns:
        (undocumented)
      • akka$actor$Actor$_setter_$self_$eq

        protected final void akka$actor$Actor$_setter_$self_$eq​(ActorRef x$1)
        Deprecated.
        Description copied from interface: Actor
        The 'self' field holds the ActorRef for this actor.

        Can be used to send messages to itself:
         self ! message
         
        Specified by:
        akka$actor$Actor$_setter_$self_$eq in interface Actor
        Parameters:
        x$1 - (undocumented)
      • tunnel

        public ActorRef tunnel()
        Deprecated.
      • tunnel_$eq

        public void tunnel_$eq​(ActorRef x$1)
        Deprecated.
      • currentSerial

        public int currentSerial()
        Deprecated.
      • currentSerial_$eq

        public void currentSerial_$eq​(int x$1)
        Deprecated.
      • lastAckSerial

        public int lastAckSerial()
        Deprecated.
      • lastAckSerial_$eq

        public void lastAckSerial_$eq​(int x$1)
        Deprecated.
      • currentTarget

        public ActorRef currentTarget()
        Deprecated.
      • currentTarget_$eq

        public void currentTarget_$eq​(ActorRef x$1)
        Deprecated.
      • attemptedReconnects

        public int attemptedReconnects()
        Deprecated.
      • attemptedReconnects_$eq

        public void attemptedReconnects_$eq​(int x$1)
        Deprecated.
      • resendTimer

        public java.lang.String resendTimer()
        Deprecated.
      • reconnectTimer

        public java.lang.String reconnectTimer()
        Deprecated.
      • retryGateClosedFor

        public long retryGateClosedFor()
        Deprecated.
      • defaultConnectInterval

        public scala.concurrent.duration.FiniteDuration defaultConnectInterval()
        Deprecated.
      • createTunnel

        public void createTunnel​(ActorRef target)
        Deprecated.
      • supervisorStrategy

        public OneForOneStrategy supervisorStrategy()
        Deprecated.
        Description copied from interface: Actor
        User overridable definition the strategy to use for supervising child actors.
        Specified by:
        supervisorStrategy in interface Actor
        Returns:
        (undocumented)
      • postStop

        public void postStop()
        Deprecated.
        Description copied from interface: Actor
        User overridable callback.

        Is called asynchronously after 'actor.stop()' is invoked. Empty default implementation.
        Specified by:
        postStop in interface Actor
        Specified by:
        postStop in interface FSM<ReliableProxy.State,​scala.collection.immutable.Vector<ReliableProxy.Message>>
      • scheduleTick

        public void scheduleTick()
        Deprecated.
      • nextSerial

        public int nextSerial()
        Deprecated.
      • logResend

        public void logResend​(int size)
        Deprecated.
      • scheduleReconnectTick

        public void scheduleReconnectTick()
        Deprecated.
      • resetBackoff

        public void resetBackoff()
        Deprecated.
        Reset backoff interval.

        This and nextBackoff are meant to be implemented by subclasses.

      • nextBackoff

        public scala.concurrent.duration.FiniteDuration nextBackoff()
        Deprecated.
        Returns the next retry interval duration. By default each interval is the same, reconnectAfter.
        Returns:
        (undocumented)