Package akka.actor

Class TypedActor


  • public class TypedActor
    extends java.lang.Object
    Deprecated.
    Use 'akka.actor.typed' API. Since 2.6.0.
    Returns a contextual TypedActorFactory of this extension, this means that any TypedActors created by this TypedActorExtension will be children to the specified context, this allows for creating hierarchies of TypedActors. Do _not_ let this instance escape the TypedActor since that will not be thread-safe.
    • Constructor Detail

      • TypedActor

        public TypedActor()
        Deprecated.
    • Method Detail

      • lookup

        public static TypedActor$ lookup()
        Deprecated.
      • apply

        public static TypedActorFactory apply​(ActorContext context)
        Deprecated.
        Use 'akka.actor.typed' API. Since 2.6.0.
        Returns a contextual TypedActorFactory of this extension, this means that any TypedActors created by this TypedActorExtension will be children to the specified context, this allows for creating hierarchies of TypedActors. Do _not_ let this instance escape the TypedActor since that will not be thread-safe.
        Parameters:
        context - (undocumented)
        Returns:
        (undocumented)
      • get

        public static TypedActorFactory get​(ActorContext context)
        Deprecated.
        Returns a contextual TypedActorFactory of this extension, this means that any TypedActors created by this TypedActorExtension will be children to the specified context, this allows for creating hierarchies of TypedActors. Do _not_ let this instance escape the TypedActor since that will not be thread-safe.

        Java API

        Parameters:
        context - (undocumented)
        Returns:
        (undocumented)
      • self

        public static <T> T self()
        Deprecated.
      • context

        public static ActorContext context()
        Deprecated.
        Returns the ActorContext (for a TypedActor) when inside a method call in a TypedActor.
        Returns:
        (undocumented)
      • dispatcher

        public static scala.concurrent.ExecutionContextExecutor dispatcher()
        Deprecated.
        Returns the default dispatcher (for a TypedActor) when inside a method call in a TypedActor.
        Returns:
        (undocumented)
      • hashCode

        public static final int hashCode()
        Deprecated.
      • equals

        public static final boolean equals​(java.lang.Object other)
        Deprecated.