Uses of Interface
com.github.benmanes.caffeine.cache.Scheduler
-
Packages that use Scheduler Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.jcache com.github.benmanes.caffeine.jcache.configuration -
-
Uses of Scheduler in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement Scheduler Modifier and Type Class Description (package private) class
DisabledScheduler
(package private) class
ExecutorServiceScheduler
(package private) class
GuardedScheduler
(package private) class
SystemScheduler
Fields in com.github.benmanes.caffeine.cache declared as Scheduler Modifier and Type Field Description (package private) Scheduler
GuardedScheduler. delegate
(package private) @Nullable Scheduler
Caffeine. scheduler
(package private) Scheduler
Pacer. scheduler
Methods in com.github.benmanes.caffeine.cache that return Scheduler Modifier and Type Method Description static @NonNull Scheduler
Scheduler. disabledScheduler()
Returns a scheduler that always returns a successfully completed future.static @NonNull Scheduler
Scheduler. forScheduledExecutorService(@NonNull java.util.concurrent.ScheduledExecutorService scheduledExecutorService)
Returns a scheduler that delegates to the aScheduledExecutorService
.(package private) @NonNull Scheduler
Caffeine. getScheduler()
static @NonNull Scheduler
Scheduler. guardedScheduler(@NonNull Scheduler scheduler)
Returns a scheduler that suppresses and logs any exception thrown by the delegatescheduler
.static @NonNull Scheduler
Scheduler. systemScheduler()
Returns a scheduler that uses the system-wide scheduling thread if available, or else returnsdisabledScheduler()
if not present.Methods in com.github.benmanes.caffeine.cache with parameters of type Scheduler Modifier and Type Method Description static @NonNull Scheduler
Scheduler. guardedScheduler(@NonNull Scheduler scheduler)
Returns a scheduler that suppresses and logs any exception thrown by the delegatescheduler
.@NonNull Caffeine<K,V>
Caffeine. scheduler(@NonNull Scheduler scheduler)
Specifies the scheduler to use when scheduling routine maintenance based on an expiration event.Constructors in com.github.benmanes.caffeine.cache with parameters of type Scheduler Constructor Description GuardedScheduler(Scheduler delegate)
Pacer(Scheduler scheduler)
-
Uses of Scheduler in com.github.benmanes.caffeine.jcache
Fields in com.github.benmanes.caffeine.jcache declared as Scheduler Modifier and Type Field Description (package private) Scheduler
CacheFactory.Builder. scheduler
-
Uses of Scheduler in com.github.benmanes.caffeine.jcache.configuration
Fields in com.github.benmanes.caffeine.jcache.configuration with type parameters of type Scheduler Modifier and Type Field Description private static javax.cache.configuration.Factory<Scheduler>
CaffeineConfiguration. DISABLED_SCHEDULER
private javax.cache.configuration.Factory<Scheduler>
CaffeineConfiguration. schedulerFactory
Methods in com.github.benmanes.caffeine.jcache.configuration that return types with arguments of type Scheduler Modifier and Type Method Description javax.cache.configuration.Factory<Scheduler>
CaffeineConfiguration. getSchedulerFactory()
Returns theFactory
for theScheduler
to be used for the cache.Method parameters in com.github.benmanes.caffeine.jcache.configuration with type arguments of type Scheduler Modifier and Type Method Description void
CaffeineConfiguration. setSchedulerFactory(javax.cache.configuration.Factory<Scheduler> factory)
Set theFactory
for theScheduler
.
-