Class DnsProtocol.Resolve

java.lang.Object
org.apache.pekko.io.dns.DnsProtocol.Resolve
All Implemented Interfaces:
Serializable, ConsistentHashingRouter.ConsistentHashable, scala.Equals, scala.Product
Enclosing class:
DnsProtocol

public static final class DnsProtocol.Resolve extends Object implements ConsistentHashingRouter.ConsistentHashable, scala.Product, Serializable
Sending this to the internal.AsyncDnsManager will either lead to a DnsProtocol.Resolved or a pekko.actor.Status.Failure response. If request type are both, both resolutions must succeed or the response is a failure.
See Also:
  • Constructor Details

  • Method Details

    • name

      public String name()
    • requestType

      public DnsProtocol.RequestType requestType()
    • consistentHashKey

      public Object consistentHashKey()
      Specified by:
      consistentHashKey in interface ConsistentHashingRouter.ConsistentHashable
    • copy

      public DnsProtocol.Resolve copy(String name, DnsProtocol.RequestType requestType)
    • copy$default$1

      public String copy$default$1()
    • copy$default$2

      public DnsProtocol.RequestType copy$default$2()
    • productPrefix

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

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

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

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

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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