Package org.infinispan.expiration
Interface ExpirationManager<K,V>
-
@ThreadSafe public interface ExpirationManager<K,V>Central component that deals with expiration of cache entries. Typically,processExpiration()is called periodically by the expiration thread (which can be configured usingExpirationConfigurationBuilder.wakeUpInterval(long)andGlobalConfigurationBuilder.expirationThreadPool()). If the expiration thread is disabled - by settingExpirationConfigurationBuilder.wakeUpInterval(long)to 0 - then this method could be called directly, perhaps by any other maintenance thread that runs periodically in the application.- Since:
- 7.2
- Author:
- William Burns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled()voidprocessExpiration()Processes the expiration event queue.
-