Record -
http
: AuthzCacheConfig
Provides a set of configurations for controlling the authorization caching behaviour of the endpoint.
Fields
- enabled boolean (default true)
-
Specifies whether authorization caching is enabled. Caching is enabled by default.
- capacity int (default 100)
-
The capacity of the cache
- expiryTimeInMillis int (default 5 * 1000)
-
The number of milliseconds to keep an entry in the cache
- evictionFactor float (default 1.0)
-
The fraction of entries to be removed when the cache is full. The value should be between 0 (exclusive) and 1 (inclusive).