Background validation. The cache module supports the {@code stale-while-revalidate} directive ofRFC5861, which allows certain cache entry revalidations to happen in the background. You may want to tweak the settings for the {@link CacheConfig#getAsynchronousWorkersCore() minimum} and {@link CacheConfig#getAsynchronousWorkersMax() maximum} number of backgroundworker threads, as well as the {@link CacheConfig#getAsynchronousWorkerIdleLifetimeSecs() maximum time theycan be idle before being reclaimed}. You can also control the {@link CacheConfig#getRevalidationQueueSize() size of the queue} used forrevalidations when there aren't enough workers to keep up with demand.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|