| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.model.coordinate |
| Modifier and Type | Method and Description |
|---|---|
List<Coordinate> |
CoordinateClient.getNodes() |
List<Coordinate> |
CoordinateClient.getNodes(String dc) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableCoordinate
Immutable implementation of
Coordinate. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Coordinate> |
ImmutableDatacenter.getCoordinates() |
abstract List<Coordinate> |
Datacenter.getCoordinates() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDatacenter.Builder |
ImmutableDatacenter.Builder.addCoordinates(Coordinate... elements)
Adds elements to
coordinates list. |
ImmutableDatacenter.Builder |
ImmutableDatacenter.Builder.addCoordinates(Coordinate element)
Adds one element to
coordinates list. |
static ImmutableCoordinate |
ImmutableCoordinate.copyOf(Coordinate instance)
Creates an immutable copy of a
Coordinate value. |
ImmutableCoordinate.Builder |
ImmutableCoordinate.Builder.from(Coordinate instance)
Fill a builder with attribute values from the provided
Coordinate instance. |
ImmutableDatacenter |
ImmutableDatacenter.withCoordinates(Coordinate... elements)
Copy the current immutable object with elements that replace the content of
coordinates. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDatacenter.Builder |
ImmutableDatacenter.Builder.addAllCoordinates(Iterable<? extends Coordinate> elements)
Adds elements to
coordinates list. |
ImmutableDatacenter.Builder |
ImmutableDatacenter.Builder.coordinates(Iterable<? extends Coordinate> elements)
Sets or replaces all elements for
coordinates list. |
ImmutableDatacenter |
ImmutableDatacenter.withCoordinates(Iterable<? extends Coordinate> elements)
Copy the current immutable object with elements that replace the content of
coordinates. |
Copyright © 2018. All rights reserved.