Uses of Enum Class
org.kiwiproject.consul.model.State
Packages that use State
Package
Description
-
Uses of State in org.kiwiproject.consul
Methods in org.kiwiproject.consul with parameters of type StateModifier and TypeMethodDescriptionvoidChecks in with Consul.voidPrepends the default TTL prefix to the serviceId to produce a check id, then delegates toAgentClient.check(String, State, String).HealthClient.getChecksByState(State state) Retrieves the healthchecks for a state.HealthClient.getChecksByState(State state, QueryOptions queryOptions) Retrieves the healthchecks for a state in a given datacenter withQueryOptions.voidHealthClient.getChecksByState(State state, QueryOptions queryOptions, ConsulResponseCallback<List<HealthCheck>> callback) Asynchronously retrieves the healthchecks for a state in a given datacenter withQueryOptions. -
Uses of State in org.kiwiproject.consul.cache
Methods in org.kiwiproject.consul.cache with parameters of type StateModifier and TypeMethodDescriptionstatic HealthCheckCacheHealthCheckCache.newCache(HealthClient healthClient, State checkState) static HealthCheckCacheHealthCheckCache.newCache(HealthClient healthClient, State checkState, int watchSeconds) static HealthCheckCacheHealthCheckCache.newCache(HealthClient healthClient, State checkState, int watchSeconds, QueryOptions queryOptions) static HealthCheckCacheHealthCheckCache.newCache(HealthClient healthClient, State checkState, int watchSeconds, QueryOptions queryOptions, Function<HealthCheck, String> keyExtractor) static HealthCheckCacheHealthCheckCache.newCache(HealthClient healthClient, State checkState, int watchSeconds, QueryOptions queryOptions, Function<HealthCheck, String> keyExtractor, ScheduledExecutorService callbackExecutorService) Factory method to construct a string/HealthCheckmap for a particularState. -
Uses of State in org.kiwiproject.consul.model
Methods in org.kiwiproject.consul.model that return State