Package org.apache.druid.rpc
Class ServiceLocations
- java.lang.Object
-
- org.apache.druid.rpc.ServiceLocations
-
public class ServiceLocations extends Object
Returned byServiceLocator.locate(). See that function for documentation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceLocationsclosed()booleanequals(Object o)static ServiceLocationsforLocation(ServiceLocation location)static ServiceLocationsforLocations(Set<ServiceLocation> locations)Set<ServiceLocation>getLocations()inthashCode()booleanisClosed()StringtoString()
-
-
-
Method Detail
-
forLocation
public static ServiceLocations forLocation(ServiceLocation location)
-
forLocations
public static ServiceLocations forLocations(Set<ServiceLocation> locations)
-
closed
public static ServiceLocations closed()
-
getLocations
public Set<ServiceLocation> getLocations()
-
isClosed
public boolean isClosed()
-
-