Package javax.cache.expiry
This package contains expiry policies
- Since:
- 1.0
-
Interface Summary Interface Description ExpiryPolicy Defines functions to determine when cache entries will expire based on creation, access and modification operations. -
Class Summary Class Description AccessedExpiryPolicy AnExpiryPolicythat defines the expiryDurationof a Cache Entry based on the last time it was accessed.CreatedExpiryPolicy AnExpiryPolicythat defines the expiryDurationof a Cache Entry based on when it was created.Duration ASerializableduration of time.EternalExpiryPolicy An eternalExpiryPolicyspecifies that Cache Entries won't expire.ModifiedExpiryPolicy AnExpiryPolicythat defines the expiryDurationof a Cache Entry based on the last time it was updated.TouchedExpiryPolicy AnExpiryPolicythat defines the expiryDurationof a Cache Entry based on when it was last touched.