Class ConsistentActorRef

  extended by akka.routing.ConsistentActorRef
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class ConsistentActorRef
extends java.lang.Object
implements scala.Product, scala.Serializable

INTERNAL API Important to use ActorRef with full address, with host and port, in the hash ring, so that same ring is produced on different nodes. The ConsistentHash uses toString of the ring nodes, and the ActorRef itself isn't a good representation, because LocalActorRef doesn't include the host and port.

See Also:
Serialized Form

Constructor Summary
ConsistentActorRef(ActorRef actorRef, Address selfAddress)
Method Summary
 ActorRef actorRef()
 Address selfAddress()
 java.lang.String toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
Methods inherited from interface scala.Equals
canEqual, equals

Constructor Detail


public ConsistentActorRef(ActorRef actorRef,
                          Address selfAddress)
Method Detail


public ActorRef actorRef()


public Address selfAddress()


public java.lang.String toString()
toString in class java.lang.Object