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#setAsynchronousWorkersCore(int) minimum} and {@link CacheConfig#setAsynchronousWorkersMax(int) maximum} number of backgroundworker threads, as well as the {@link CacheConfig#setAsynchronousWorkerIdleLifetimeSecs(int) maximum time theycan be idle before being reclaimed}. You can also control the {@link CacheConfig#setRevalidationQueueSize(int) size of the queue} used forrevalidations when there aren't enough workers to keep up with demand.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|