Uses of Interface
com.github.benmanes.caffeine.cache.Scheduler
Packages that use Scheduler
Package
Description
This package contains in-memory caching functionality.
-
Uses of Scheduler in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return SchedulerModifier and TypeMethodDescriptionstatic SchedulerScheduler.disabledScheduler()Returns a scheduler that always returns a successfully completed future.static SchedulerScheduler.forScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Returns a scheduler that delegates to the aScheduledExecutorService.static SchedulerScheduler.guardedScheduler(Scheduler scheduler) Returns a scheduler that suppresses and logs any exception thrown by the delegatescheduler.static SchedulerScheduler.systemScheduler()Returns a scheduler that uses the system-wide scheduling thread by usingCompletableFuture.delayedExecutor(long, java.util.concurrent.TimeUnit, java.util.concurrent.Executor).Methods in com.github.benmanes.caffeine.cache with parameters of type SchedulerModifier and TypeMethodDescriptionstatic SchedulerScheduler.guardedScheduler(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.