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
Methods in com.github.benmanes.caffeine.cache that return SchedulerModifier and TypeMethodDescriptionstatic @NonNull SchedulerScheduler.disabledScheduler()Returns a scheduler that always returns a successfully completed future.static @NonNull SchedulerScheduler.forScheduledExecutorService(@NonNull ScheduledExecutorService scheduledExecutorService) Returns a scheduler that delegates to the aScheduledExecutorService.static @NonNull SchedulerScheduler.guardedScheduler(@NonNull Scheduler scheduler) Returns a scheduler that suppresses and logs any exception thrown by the delegatescheduler.static @NonNull SchedulerScheduler.systemScheduler()Returns a scheduler that uses the system-wide scheduling thread if available, or else returnsScheduler.disabledScheduler()if not present.Methods in com.github.benmanes.caffeine.cache with parameters of type SchedulerModifier and TypeMethodDescriptionstatic @NonNull SchedulerScheduler.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. -
Uses of Scheduler in com.github.benmanes.caffeine.jcache.configuration
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 theFactoryfor theSchedulerto be used for the cache.Method parameters in com.github.benmanes.caffeine.jcache.configuration with type arguments of type SchedulerModifier and TypeMethodDescriptionvoidCaffeineConfiguration.setSchedulerFactory(javax.cache.configuration.Factory<Scheduler> factory) Set theFactoryfor theScheduler.