Uses of Class
com.orbitz.consul.model.health.ServiceHealth
-
Packages that use ServiceHealth Package Description com.orbitz.consul com.orbitz.consul.cache com.orbitz.consul.model.health com.orbitz.consul.model.query -
-
Uses of ServiceHealth in com.orbitz.consul
Methods in com.orbitz.consul that return types with arguments of type ServiceHealth Modifier and Type Method Description ConsulResponse<java.util.List<ServiceHealth>>HealthClient. getAllServiceInstances(java.lang.String service)Retrieves the healthchecks for all nodes.ConsulResponse<java.util.List<ServiceHealth>>HealthClient. getAllServiceInstances(java.lang.String service, QueryOptions queryOptions)Retrieves the healthchecks for all nodes in a given datacenter withQueryOptions.ConsulResponse<java.util.List<ServiceHealth>>HealthClient. getHealthyServiceInstances(java.lang.String service)Retrieves the healthchecks for all healthy service instances.ConsulResponse<java.util.List<ServiceHealth>>HealthClient. getHealthyServiceInstances(java.lang.String service, QueryOptions queryOptions)Retrieves the healthchecks for all healthy service instances in a given datacenter withQueryOptions.Method parameters in com.orbitz.consul with type arguments of type ServiceHealth Modifier and Type Method Description voidHealthClient. getAllServiceInstances(java.lang.String service, QueryOptions queryOptions, ConsulResponseCallback<java.util.List<ServiceHealth>> callback)Asynchronously retrieves the healthchecks for all nodes in a given datacenter withQueryOptions.voidHealthClient. getHealthyServiceInstances(java.lang.String service, QueryOptions queryOptions, ConsulResponseCallback<java.util.List<ServiceHealth>> callback)Asynchronously retrieves the healthchecks for all healthy service instances in a given datacenter withQueryOptions. -
Uses of ServiceHealth in com.orbitz.consul.cache
Methods in com.orbitz.consul.cache with parameters of type ServiceHealth Modifier and Type Method Description static ServiceHealthKeyServiceHealthKey. fromServiceHealth(ServiceHealth serviceHealth)Method parameters in com.orbitz.consul.cache with type arguments of type ServiceHealth Modifier and Type Method Description static ServiceHealthCacheServiceHealthCache. newCache(HealthClient healthClient, java.lang.String serviceName, boolean passing, int watchSeconds, QueryOptions queryOptions, java.util.function.Function<ServiceHealth,ServiceHealthKey> keyExtractor)static ServiceHealthCacheServiceHealthCache. newCache(HealthClient healthClient, java.lang.String serviceName, boolean passing, int watchSeconds, QueryOptions queryOptions, java.util.function.Function<ServiceHealth,ServiceHealthKey> keyExtractor, java.util.concurrent.ScheduledExecutorService callbackExecutorService)Factory method to construct a string/ServiceHealthmap for a particular service. -
Uses of ServiceHealth in com.orbitz.consul.model.health
Subclasses of ServiceHealth in com.orbitz.consul.model.health Modifier and Type Class Description classImmutableServiceHealthImmutable implementation ofServiceHealth.Methods in com.orbitz.consul.model.health with parameters of type ServiceHealth Modifier and Type Method Description static ImmutableServiceHealthImmutableServiceHealth. copyOf(ServiceHealth instance)Creates an immutable copy of aServiceHealthvalue.ImmutableServiceHealth.BuilderImmutableServiceHealth.Builder. from(ServiceHealth instance)Fill a builder with attribute values from the providedServiceHealthinstance. -
Uses of ServiceHealth in com.orbitz.consul.model.query
Methods in com.orbitz.consul.model.query that return types with arguments of type ServiceHealth Modifier and Type Method Description com.google.common.collect.ImmutableList<ServiceHealth>ImmutableQueryResults. nodes()abstract java.util.List<ServiceHealth>QueryResults. nodes()Methods in com.orbitz.consul.model.query with parameters of type ServiceHealth Modifier and Type Method Description ImmutableQueryResults.BuilderImmutableQueryResults.Builder. addNodes(ServiceHealth element)Adds one element tonodeslist.ImmutableQueryResults.BuilderImmutableQueryResults.Builder. addNodes(ServiceHealth... elements)Adds elements tonodeslist.ImmutableQueryResultsImmutableQueryResults. withNodes(ServiceHealth... elements)Copy the current immutable object with elements that replace the content ofnodes.Method parameters in com.orbitz.consul.model.query with type arguments of type ServiceHealth Modifier and Type Method Description ImmutableQueryResults.BuilderImmutableQueryResults.Builder. addAllNodes(java.lang.Iterable<? extends ServiceHealth> elements)Adds elements tonodeslist.ImmutableQueryResults.BuilderImmutableQueryResults.Builder. nodes(java.lang.Iterable<? extends ServiceHealth> elements)Sets or replaces all elements fornodeslist.ImmutableQueryResultsImmutableQueryResults. withNodes(java.lang.Iterable<? extends ServiceHealth> elements)Copy the current immutable object with elements that replace the content ofnodes.
-