Class AbstractClientActorBehavior<C extends org.opendaylight.controller.cluster.access.client.AbstractClientActorContext>

  • Type Parameters:
    C - Type of associated context
    All Implemented Interfaces:
    AutoCloseable
    Direct Known Subclasses:
    ClientActorBehavior

    @Beta
    public abstract class AbstractClientActorBehavior<C extends org.opendaylight.controller.cluster.access.client.AbstractClientActorContext>
    extends Object
    implements AutoCloseable
    Base behavior attached to AbstractClientActor.
    Author:
    Robert Varga
    • Method Detail

      • context

        protected final @NonNull C context()
        Return an AbstractClientActorContext associated with this AbstractClientActor.
        Returns:
        A client actor context instance.
      • persistenceId

        protected final @NonNull String persistenceId()
        Return the persistence identifier associated with this AbstractClientActor. This identifier should be used in logging to identify this actor.
        Returns:
        Persistence identifier
      • self

        public final @NonNull akka.actor.ActorRef self()
        Return an ActorRef of this ClientActor.
        Returns:
        Actor associated with this behavior