Uses of Interface
org.apache.hc.client5.http.schedule.SchedulingStrategy
-
Packages that use SchedulingStrategy Package Description org.apache.hc.client5.http.impl.cache Caching API implementation for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.http.impl.schedule Commons scheduling strategy implementations. -
-
Uses of SchedulingStrategy in org.apache.hc.client5.http.impl.cache
Fields in org.apache.hc.client5.http.impl.cache declared as SchedulingStrategy Modifier and Type Field Description private SchedulingStrategy
CacheRevalidatorBase. schedulingStrategy
private SchedulingStrategy
CachingH2AsyncClientBuilder. schedulingStrategy
private SchedulingStrategy
CachingHttpAsyncClientBuilder. schedulingStrategy
private SchedulingStrategy
CachingHttpClientBuilder. schedulingStrategy
Methods in org.apache.hc.client5.http.impl.cache with parameters of type SchedulingStrategy Modifier and Type Method Description CachingH2AsyncClientBuilder
CachingH2AsyncClientBuilder. setSchedulingStrategy(SchedulingStrategy schedulingStrategy)
CachingHttpAsyncClientBuilder
CachingHttpAsyncClientBuilder. setSchedulingStrategy(SchedulingStrategy schedulingStrategy)
CachingHttpClientBuilder
CachingHttpClientBuilder. setSchedulingStrategy(SchedulingStrategy schedulingStrategy)
Constructors in org.apache.hc.client5.http.impl.cache with parameters of type SchedulingStrategy Constructor Description AsyncCachingExec(ResourceFactory resourceFactory, HttpAsyncCacheStorage storage, java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy, CacheConfig config)
AsyncCachingExec(HttpAsyncCache cache, java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy, CacheConfig config)
CacheRevalidatorBase(java.util.concurrent.ScheduledThreadPoolExecutor scheduledThreadPoolExecutor, SchedulingStrategy schedulingStrategy)
Create CacheValidator which will make ache revalidation requests using the suppliedSchedulingStrategy
andScheduledThreadPoolExecutor
.CacheRevalidatorBase(CacheRevalidatorBase.ScheduledExecutor scheduledExecutor, SchedulingStrategy schedulingStrategy)
Create CacheValidator which will make ache revalidation requests using the suppliedSchedulingStrategy
andCacheRevalidatorBase.ScheduledExecutor
.CachingExec(ResourceFactory resourceFactory, HttpCacheStorage storage, java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy, CacheConfig config)
CachingExec(HttpCache cache, java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy, CacheConfig config)
DefaultAsyncCacheRevalidator(java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy)
Create CacheValidator which will make ache revalidation requests using the suppliedSchedulingStrategy
andScheduledExecutorService
.DefaultAsyncCacheRevalidator(CacheRevalidatorBase.ScheduledExecutor scheduledExecutor, SchedulingStrategy schedulingStrategy)
Create DefaultCacheRevalidator which will make ache revalidation requests using the suppliedSchedulingStrategy
andCacheRevalidatorBase.ScheduledExecutor
.DefaultCacheRevalidator(java.util.concurrent.ScheduledExecutorService scheduledThreadPoolExecutor, SchedulingStrategy schedulingStrategy)
Create CacheValidator which will make ache revalidation requests using the suppliedSchedulingStrategy
andScheduledExecutorService
.DefaultCacheRevalidator(CacheRevalidatorBase.ScheduledExecutor scheduledExecutor, SchedulingStrategy schedulingStrategy)
Create DefaultCacheRevalidator which will make ache revalidation requests using the suppliedSchedulingStrategy
andCacheRevalidatorBase.ScheduledExecutor
. -
Uses of SchedulingStrategy in org.apache.hc.client5.http.impl.schedule
Classes in org.apache.hc.client5.http.impl.schedule that implement SchedulingStrategy Modifier and Type Class Description class
ExponentialBackOffSchedulingStrategy
An implementation that backs off exponentially based on the number of consecutive failed attempts.class
ImmediateSchedulingStrategy
Immediately schedules any operation.
-