Package akka.discovery
Class ServiceDiscovery.Resolved
- java.lang.Object
-
- akka.discovery.ServiceDiscovery.Resolved
-
- All Implemented Interfaces:
DeadLetterSuppression
,NoSerializationVerificationNeeded
- Enclosing class:
- ServiceDiscovery
public static final class ServiceDiscovery.Resolved extends java.lang.Object implements DeadLetterSuppression, NoSerializationVerificationNeeded
Result of a successful resolve request
-
-
Constructor Summary
Constructors Constructor Description Resolved(java.lang.String serviceName, scala.collection.immutable.Seq<ServiceDiscovery.ResolvedTarget> addresses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.Seq<ServiceDiscovery.ResolvedTarget>
addresses()
boolean
equals(java.lang.Object obj)
java.util.List<ServiceDiscovery.ResolvedTarget>
getAddresses()
Java APIint
hashCode()
java.lang.String
serviceName()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Resolved
public Resolved(java.lang.String serviceName, scala.collection.immutable.Seq<ServiceDiscovery.ResolvedTarget> addresses)
-
-
Method Detail
-
serviceName
public java.lang.String serviceName()
-
addresses
public scala.collection.immutable.Seq<ServiceDiscovery.ResolvedTarget> addresses()
-
getAddresses
public java.util.List<ServiceDiscovery.ResolvedTarget> getAddresses()
Java API
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-