Interface QuarkusDistributedCacheInvalidationsConfig
@PolarisImmutable
@ConfigMapping(prefix="polaris.persistence.distributed-cache-invalidations")
public interface QuarkusDistributedCacheInvalidationsConfig
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintMaximum number of cache-invalidation messages to send in a single request to peer nodes.Request timeout for sent cache-invalidation messages.Interval of service-name lookups to resolve the service names into IP addresses.Host names or IP addresses or kubernetes headless-service name of all Polaris server instances accessing the same repository.URI of the cache-invalidation endpoint, only available on the Quarkus management port, defaults to 9000.List of cache-invalidation tokens to authenticate incoming cache-invalidation messages.Timeout for DNS queries to resolve peer nodes.
-
Field Details
-
CACHE_INVALIDATIONS_CONFIG_PREFIX
- See Also:
-
CONFIG_VALID_TOKENS
- See Also:
-
CONFIG_SERVICE_NAMES
- See Also:
-
CONFIG_URI
- See Also:
-
CONFIG_BATCH_SIZE
- See Also:
-
CONFIG_SERVICE_NAME_LOOKUP_INTERVAL
- See Also:
-
CONFIG_REQUEST_TIMEOUT
- See Also:
-
CONFIG_DNS_QUERY_TIMEOUT
- See Also:
-
-
Method Details
-
cacheInvalidationServiceNames
Host names or IP addresses or kubernetes headless-service name of all Polaris server instances accessing the same repository.This value is automatically configured via the Polaris Helm chart, additional configuration is not required.
If you have your own Helm chart or custom deployment, make sure to configure the IPs of all Polaris instances here.
Names that start with an equal sign are not resolved but used "as is".
-
cacheInvalidationValidTokens
List of cache-invalidation tokens to authenticate incoming cache-invalidation messages.The first token is used in outgoing cache-invalidation messages.
-
cacheInvalidationUri
URI of the cache-invalidation endpoint, only available on the Quarkus management port, defaults to 9000. -
cacheInvalidationServiceNameLookupInterval
@WithName("service-name-lookup-interval") @WithDefault("PT10S") Duration cacheInvalidationServiceNameLookupInterval()Interval of service-name lookups to resolve the service names into IP addresses. -
cacheInvalidationBatchSize
@WithName("batch-size") @WithDefault("20") int cacheInvalidationBatchSize()Maximum number of cache-invalidation messages to send in a single request to peer nodes. -
cacheInvalidationRequestTimeout
Request timeout for sent cache-invalidation messages. Timeouts trigger a warning or error message. -
dnsQueryTimeout
Timeout for DNS queries to resolve peer nodes.
-