| Interface and Description |
|---|
| org.ehcache.expiry.Expiry
Replaced with
ExpiryPolicy that builds on the java.time types. |
| org.ehcache.ValueSupplier
Now using
Supplier for ExpiryPolicy |
| Class and Description |
|---|
| org.ehcache.expiry.Duration
Replaced with
Duration |
| org.ehcache.expiry.Expirations |
| org.ehcache.expiry.Expirations.ExpiryBuilder |
| Method and Description |
|---|
| org.ehcache.expiry.Expirations.builder()
Use
org.ehcache.config.builders.ExpiryPolicyBuilder#expiry() instead |
| org.ehcache.config.CacheConfiguration.getExpiry() |
| org.ehcache.spi.persistence.StateRepository.getPersistentStateHolder(String, Class<K>, Class<V>)
Replaced by
StateRepository.getPersistentStateHolder(String, Class, Class, Predicate, ClassLoader) that takes in a Predicate that authorizes a class for deserialization |
| org.ehcache.event.CacheEvent.getSource() |
| org.ehcache.expiry.Expirations.noExpiration()
Use
org.ehcache.config.builders.ExpiryPolicyBuilder#noExpiration() instead |
| org.ehcache.expiry.Expirations.timeToIdleExpiration(Duration)
Use
org.ehcache.config.builders.ExpiryPolicyBuilder#timeToIdleExpiration(java.time.Duration) instead |
| org.ehcache.expiry.Expirations.timeToLiveExpiration(Duration)
Use
org.ehcache.config.builders.ExpiryPolicyBuilder#timeToLiveExpiration(java.time.Duration) instead |