Uses of Interface
com.github.benmanes.caffeine.cache.Scheduler
Packages that use Scheduler
Package
Description
This package contains caching utilities.
-
Uses of Scheduler in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement SchedulerModifier and TypeClassDescription(package private) enum
(package private) final class
(package private) final class
(package private) enum
Fields in com.github.benmanes.caffeine.cache declared as SchedulerModifier and TypeFieldDescription(package private) final Scheduler
GuardedScheduler.delegate
(package private) @Nullable Scheduler
Caffeine.scheduler
(package private) final Scheduler
Pacer.scheduler
Methods in com.github.benmanes.caffeine.cache that return SchedulerModifier and TypeMethodDescriptionstatic @NonNull Scheduler
Scheduler.disabledScheduler()
Returns a scheduler that always returns a successfully completed future.static @NonNull Scheduler
Scheduler.forScheduledExecutorService
(@NonNull 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 SchedulerModifier and TypeMethodDescriptionstatic @NonNull Scheduler
Scheduler.guardedScheduler
(@NonNull Scheduler scheduler) Returns a scheduler that suppresses and logs any exception thrown by the delegatescheduler
.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 SchedulerModifierConstructorDescription(package private)
GuardedScheduler
(Scheduler delegate) (package private)
-
Uses of Scheduler in com.github.benmanes.caffeine.jcache
Fields in com.github.benmanes.caffeine.jcache declared as Scheduler -
Uses of Scheduler in com.github.benmanes.caffeine.jcache.configuration
Fields in com.github.benmanes.caffeine.jcache.configuration with type parameters of type SchedulerModifier and TypeFieldDescriptionprivate static final 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 SchedulerModifier and TypeMethodDescriptionjavax.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 SchedulerModifier and TypeMethodDescriptionvoid
CaffeineConfiguration.setSchedulerFactory
(javax.cache.configuration.Factory<Scheduler> factory) Set theFactory
for theScheduler
.