Uses of Interface
javax.cache.expiry.ExpiryPolicy
Packages that use ExpiryPolicy
Package
Description
This package contains configuration classes and interfaces.
This package contains expiry policies
-
Uses of ExpiryPolicy in javax.cache.configuration
Fields in javax.cache.configuration with type parameters of type ExpiryPolicyModifier and TypeFieldDescriptionprotected Factory
<ExpiryPolicy> MutableConfiguration.expiryPolicyFactory
TheFactory
for theExpiryPolicy
.Methods in javax.cache.configuration that return types with arguments of type ExpiryPolicyModifier and TypeMethodDescriptionCompleteConfiguration.getExpiryPolicyFactory()
Gets theFactory
for theExpiryPolicy
to be used for caches.MutableConfiguration.getExpiryPolicyFactory()
Gets theFactory
for theExpiryPolicy
to be used for caches.Method parameters in javax.cache.configuration with type arguments of type ExpiryPolicyModifier and TypeMethodDescriptionMutableConfiguration.setExpiryPolicyFactory
(Factory<? extends ExpiryPolicy> factory) Set theFactory
for theExpiryPolicy
. -
Uses of ExpiryPolicy in javax.cache.expiry
Classes in javax.cache.expiry that implement ExpiryPolicyModifier and TypeClassDescriptionfinal class
AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on the last time it was accessed.final class
AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on when it was created.final class
An eternalExpiryPolicy
specifies that Cache Entries won't expire.final class
AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on the last time it was updated.final class
AnExpiryPolicy
that defines the expiryDuration
of a Cache Entry based on when it was last touched.Methods in javax.cache.expiry that return types with arguments of type ExpiryPolicyModifier and TypeMethodDescriptionstatic Factory
<ExpiryPolicy> Obtains aFactory
for an AccessedExpiryPolicy
.static Factory
<ExpiryPolicy> Obtains aFactory
for a CreatedExpiryPolicy
.static Factory
<ExpiryPolicy> EternalExpiryPolicy.factoryOf()
Obtains aFactory
for an EternalExpiryPolicy
.static Factory
<ExpiryPolicy> Obtains aFactory
for a ModifiedExpiryPolicy
.static Factory
<ExpiryPolicy> Obtains aFactory
for a TouchedExpiryPolicy
.