Package akka.agent

Class Agent$


  • public class Agent$
    extends java.lang.Object
    Deprecated.
    Agents are deprecated and scheduled for removal in the next major version, use Actors instead. Since 2.5.0.
    • Field Summary

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

      Constructors 
      Constructor Description
      Agent$()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      <T> Agent<T> apply​(T initialValue, scala.concurrent.ExecutionContext context)
      Deprecated.
      Agents are deprecated and scheduled for removal in the next major version, use Actors instead.
      <T> Agent<T> create​(T initialValue, scala.concurrent.ExecutionContext context)
      Deprecated.
      Agents are deprecated and scheduled for removal in the next major version, use Actors instead.i
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • Agent$

        public Agent$()
        Deprecated.
    • Method Detail

      • apply

        public <T> Agent<T> apply​(T initialValue,
                                  scala.concurrent.ExecutionContext context)
        Deprecated.
        Agents are deprecated and scheduled for removal in the next major version, use Actors instead. Since 2.5.0.
        Factory method for creating an Agent.
        Parameters:
        initialValue - (undocumented)
        context - (undocumented)
        Returns:
        (undocumented)
      • create

        public <T> Agent<T> create​(T initialValue,
                                   scala.concurrent.ExecutionContext context)
        Deprecated.
        Agents are deprecated and scheduled for removal in the next major version, use Actors instead.i
        Java API: Factory method for creating an Agent.
        Parameters:
        initialValue - (undocumented)
        context - (undocumented)
        Returns:
        (undocumented)