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 AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on the last time it was accessed.CreatedExpiryPolicy AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on when it was created.Duration ASerializable
duration of time.EternalExpiryPolicy An eternalExpiryPolicy
specifies that Cache Entries won't expire.ModifiedExpiryPolicy AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on the last time it was updated.TouchedExpiryPolicy AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on when it was last touched.