Package org.apache.pekko.io.dns
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(String name, DnsProtocol.RequestType requestType) booleaninthashCode()name()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Resolve
-
-
Method Details
-
name
-
requestType
-
consistentHashKey
- Specified by:
consistentHashKeyin interfaceConsistentHashingRouter.ConsistentHashable
-
copy
-
copy$default$1
-
copy$default$2
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-