java.lang.Object
org.opendaylight.controller.cluster.access.client.BackendInfo

public class BackendInfo extends Object
Basic information about how to talk to the backend. ClientActorBehavior uses this information to dispatch requests to the backend.

This class is not final so concrete actor behavior implementations may subclass it and track more information about the backend. The hashCode() and equals(Object) methods are made final to ensure subclasses compare on object identity.

  • Constructor Details

    • BackendInfo

      protected BackendInfo(org.apache.pekko.actor.ActorRef actor, String name, long sessionId, ABIVersion version, int maxMessages)
  • Method Details

    • getActor

      public final org.apache.pekko.actor.ActorRef getActor()
    • getName

      public final String getName()
    • getVersion

      public final ABIVersion getVersion()
    • getMaxMessages

      public final int getMaxMessages()
    • getSessionId

      public final long getSessionId()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • addToStringAttributes

      protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper)