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

java.lang.Object
org.opendaylight.controller.cluster.access.client.AbstractClientActorBehavior<C>
Type Parameters:
C - Type of associated context
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
ClientActorBehavior

public abstract class AbstractClientActorBehavior<C extends org.opendaylight.controller.cluster.access.client.AbstractClientActorContext> extends Object implements AutoCloseable
Base behavior attached to AbstractClientActor.
  • Method Details

    • 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
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable