Package akka.agent
Class Agent$
- java.lang.Object
-
- akka.agent.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.Factory method for creating an Agent.
-
-
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
-
-
-
Field Detail
-
MODULE$
public static final Agent$ MODULE$
Deprecated.Static reference to the singleton instance of this Scala object.
-
-
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.
-
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.iJava API: Factory method for creating an Agent.- Parameters:
initialValue
- (undocumented)context
- (undocumented)- Returns:
- (undocumented)
-
-