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.expiryPolicyFactoryTheFactoryfor theExpiryPolicy.Methods in javax.cache.configuration that return types with arguments of type ExpiryPolicyModifier and TypeMethodDescriptionCompleteConfiguration.getExpiryPolicyFactory()Gets theFactoryfor theExpiryPolicyto be used for caches.MutableConfiguration.getExpiryPolicyFactory()Gets theFactoryfor theExpiryPolicyto be used for caches.Method parameters in javax.cache.configuration with type arguments of type ExpiryPolicyModifier and TypeMethodDescriptionMutableConfiguration.setExpiryPolicyFactory(Factory<? extends ExpiryPolicy> factory) Set theFactoryfor theExpiryPolicy. -
Uses of ExpiryPolicy in javax.cache.expiry
Classes in javax.cache.expiry that implement ExpiryPolicyModifier and TypeClassDescriptionfinal classAnExpiryPolicythat defines the expiryDurationof a Cache Entry based on the last time it was accessed.final classAnExpiryPolicythat defines the expiryDurationof a Cache Entry based on when it was created.final classAn eternalExpiryPolicyspecifies that Cache Entries won't expire.final classAnExpiryPolicythat defines the expiryDurationof a Cache Entry based on the last time it was updated.final classAnExpiryPolicythat defines the expiryDurationof 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 aFactoryfor an AccessedExpiryPolicy.static Factory<ExpiryPolicy> Obtains aFactoryfor a CreatedExpiryPolicy.static Factory<ExpiryPolicy> EternalExpiryPolicy.factoryOf()Obtains aFactoryfor an EternalExpiryPolicy.static Factory<ExpiryPolicy> Obtains aFactoryfor a ModifiedExpiryPolicy.static Factory<ExpiryPolicy> Obtains aFactoryfor a TouchedExpiryPolicy.