Uses of Class
org.kiwiproject.consul.model.health.ServiceHealth
Packages that use ServiceHealth
Package
Description
-
Uses of ServiceHealth in org.kiwiproject.consul
Methods in org.kiwiproject.consul that return types with arguments of type ServiceHealthModifier and TypeMethodDescriptionHealthClient.getAllServiceInstances
(String service) Retrieves the healthchecks for all nodes.HealthClient.getAllServiceInstances
(String service, QueryOptions queryOptions) Retrieves the healthchecks for all nodes in a given datacenter withQueryOptions
.HealthClient.getHealthyServiceInstances
(String service) Retrieves the healthchecks for all healthy service instances.HealthClient.getHealthyServiceInstances
(String service, QueryOptions queryOptions) Retrieves the healthchecks for all healthy service instances in a given datacenter withQueryOptions
.Method parameters in org.kiwiproject.consul with type arguments of type ServiceHealthModifier and TypeMethodDescriptionvoid
HealthClient.getAllServiceInstances
(String service, QueryOptions queryOptions, ConsulResponseCallback<List<ServiceHealth>> callback) Asynchronously retrieves the healthchecks for all nodes in a given datacenter withQueryOptions
.void
HealthClient.getHealthyServiceInstances
(String service, QueryOptions queryOptions, ConsulResponseCallback<List<ServiceHealth>> callback) Asynchronously retrieves the healthchecks for all healthy service instances in a given datacenter withQueryOptions
. -
Uses of ServiceHealth in org.kiwiproject.consul.cache
Methods in org.kiwiproject.consul.cache with parameters of type ServiceHealthModifier and TypeMethodDescriptionstatic ServiceHealthKey
ServiceHealthKey.fromServiceHealth
(ServiceHealth serviceHealth) Method parameters in org.kiwiproject.consul.cache with type arguments of type ServiceHealthModifier and TypeMethodDescriptionstatic ServiceHealthCache
ServiceHealthCache.newCache
(HealthClient healthClient, String serviceName, boolean passing, int watchSeconds, QueryOptions queryOptions, Function<ServiceHealth, ServiceHealthKey> keyExtractor) static ServiceHealthCache
ServiceHealthCache.newCache
(HealthClient healthClient, String serviceName, boolean passing, int watchSeconds, QueryOptions queryOptions, Function<ServiceHealth, ServiceHealthKey> keyExtractor, ScheduledExecutorService callbackExecutorService) Factory method to construct a string/ServiceHealth
map for a particular service. -
Uses of ServiceHealth in org.kiwiproject.consul.model.health
Subclasses of ServiceHealth in org.kiwiproject.consul.model.healthMethods in org.kiwiproject.consul.model.health with parameters of type ServiceHealthModifier and TypeMethodDescriptionstatic ImmutableServiceHealth
ImmutableServiceHealth.copyOf
(ServiceHealth instance) Creates an immutable copy of aServiceHealth
value.ImmutableServiceHealth.Builder.from
(ServiceHealth instance) Fill a builder with attribute values from the providedServiceHealth
instance. -
Uses of ServiceHealth in org.kiwiproject.consul.model.query
Methods in org.kiwiproject.consul.model.query that return types with arguments of type ServiceHealthModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<ServiceHealth>
ImmutableQueryResults.nodes()
abstract List<ServiceHealth>
QueryResults.nodes()
Methods in org.kiwiproject.consul.model.query with parameters of type ServiceHealthModifier and TypeMethodDescriptionImmutableQueryResults.Builder.addNodes
(ServiceHealth element) Adds one element tonodes
list.ImmutableQueryResults.Builder.addNodes
(ServiceHealth... elements) Adds elements tonodes
list.final ImmutableQueryResults
ImmutableQueryResults.withNodes
(ServiceHealth... elements) Copy the current immutable object with elements that replace the content ofnodes
.Method parameters in org.kiwiproject.consul.model.query with type arguments of type ServiceHealthModifier and TypeMethodDescriptionImmutableQueryResults.Builder.addAllNodes
(Iterable<? extends ServiceHealth> elements) Adds elements tonodes
list.ImmutableQueryResults.Builder.nodes
(Iterable<? extends ServiceHealth> elements) Sets or replaces all elements fornodes
list.final ImmutableQueryResults
ImmutableQueryResults.withNodes
(Iterable<? extends ServiceHealth> elements) Copy the current immutable object with elements that replace the content ofnodes
.