| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.model.catalog | |
| com.orbitz.consul.model.health | |
| com.orbitz.consul.model.query |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Service> |
AgentClient.getServices()
Retrieves all services registered with the Agent.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,Service> |
ImmutableCatalogNode.getServices() |
abstract Map<String,Service> |
CatalogNode.getServices() |
Optional<Service> |
ImmutableCatalogRegistration.service() |
abstract Optional<Service> |
CatalogRegistration.service() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableCatalogNode.Builder |
ImmutableCatalogNode.Builder.putServices(String key,
Service value)
Put one entry to the
services map. |
ImmutableCatalogRegistration.Builder |
ImmutableCatalogRegistration.Builder.service(Service service)
Initializes the optional value
service to service. |
ImmutableCatalogRegistration |
ImmutableCatalogRegistration.withService(Service value)
Copy the current immutable object by setting a present value for the optional
service attribute. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableCatalogNode.Builder |
ImmutableCatalogNode.Builder.putAllServices(Map<String,? extends Service> entries)
Put all mappings from the specified map as entries to
services map. |
ImmutableCatalogNode.Builder |
ImmutableCatalogNode.Builder.putServices(Map.Entry<String,? extends Service> entry)
Put one entry to the
services map. |
ImmutableCatalogRegistration.Builder |
ImmutableCatalogRegistration.Builder.service(Optional<? extends Service> service)
Initializes the optional value
service to service. |
ImmutableCatalogNode.Builder |
ImmutableCatalogNode.Builder.services(Map<String,? extends Service> entries)
Sets or replaces all mappings from the specified map as entries for the
services map. |
ImmutableCatalogRegistration |
ImmutableCatalogRegistration.withService(Optional<? extends Service> optional)
Copy the current immutable object by setting an optional value for the
service attribute. |
ImmutableCatalogNode |
ImmutableCatalogNode.withServices(Map<String,? extends Service> entries)
Copy the current immutable object by replacing the
services map with the specified map. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableService
Immutable implementation of
Service. |
| Modifier and Type | Method and Description |
|---|---|
Service |
ImmutableServiceCheck.getService() |
Service |
ImmutableServiceHealth.getService() |
abstract Service |
ServiceCheck.getService() |
abstract Service |
ServiceHealth.getService() |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableService |
ImmutableService.copyOf(Service instance)
Creates an immutable copy of a
Service value. |
ImmutableService.Builder |
ImmutableService.Builder.from(Service instance)
Fill a builder with attribute values from the provided
Service instance. |
ImmutableServiceCheck.Builder |
ImmutableServiceCheck.Builder.service(Service service)
Initializes the value for the
service attribute. |
ImmutableServiceHealth.Builder |
ImmutableServiceHealth.Builder.service(Service service)
Initializes the value for the
service attribute. |
ImmutableServiceCheck |
ImmutableServiceCheck.withService(Service value)
Copy the current immutable object by setting a value for the
service attribute. |
ImmutableServiceHealth |
ImmutableServiceHealth.withService(Service value)
Copy the current immutable object by setting a value for the
service attribute. |
| Modifier and Type | Method and Description |
|---|---|
Service |
ImmutableQueryResult.getService() |
abstract Service |
QueryResult.getService() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableQueryResult.Builder |
ImmutableQueryResult.Builder.service(Service service)
Initializes the value for the
service attribute. |
ImmutableQueryResult |
ImmutableQueryResult.withService(Service value)
Copy the current immutable object by setting a value for the
service attribute. |
Copyright © 2019. All rights reserved.