Class Replicator.Get<A extends ReplicatedData>

  • All Implemented Interfaces:
    Replicator.Command, Replicator.Command,, scala.Equals, scala.Product, scala.Serializable
    Enclosing class:

    public static final class Replicator.Get<A extends ReplicatedData>
    extends java.lang.Object
    implements Replicator.Command, scala.Product, scala.Serializable
    Send this message to the local Replicator to retrieve a data value for the given key. The Replicator will reply with one of the Replicator.GetResponse messages.

    The optional request context is included in the reply messages. This is a convenient way to pass contextual information (e.g. original sender) without having to use ask or maintain local correlation data structures.

    See Also:
    Serialized Form
    • Method Detail

      • key

        public Key<A> key()
      • request

        public java.util.Optional<java.lang.Object> request()
      • copy$default$4

        public <A extends ReplicatedData> java.util.Optional<java.lang.Object> copy$default$4()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

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

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object