|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ExpiryPolicy | |
|---|---|
| javax.cache | This package contains the API for JCache. |
| Uses of ExpiryPolicy in javax.cache |
|---|
| Classes in javax.cache that implement ExpiryPolicy | |
|---|---|
static class |
ExpiryPolicy.Accessed<K,V>
A ExpiryPolicy that defines the expiry Configuration.Duration
of a Cache Entry based on the last time it was accessed. |
static class |
ExpiryPolicy.Default<K,V>
The default ExpiryPolicy specifies that Cache Entries
won't expire. |
static class |
ExpiryPolicy.Modified<K,V>
A ExpiryPolicy that defines the expiry Configuration.Duration
of a Cache Entry based on the last time it was modified. |
| Fields in javax.cache declared as ExpiryPolicy | |
|---|---|
protected ExpiryPolicy<? super K,? super V> |
SimpleConfiguration.expiryPolicy
The ExpiryPolicy for the Configuration. |
| Methods in javax.cache that return ExpiryPolicy | |
|---|---|
ExpiryPolicy<? super K,? super V> |
SimpleConfiguration.getExpiryPolicy()
Gets the ExpiryPolicy to be used for caches. |
ExpiryPolicy<? super K,? super V> |
Configuration.getExpiryPolicy()
Gets the ExpiryPolicy to be used for caches. |
| Methods in javax.cache with parameters of type ExpiryPolicy | |
|---|---|
SimpleConfiguration<K,V> |
SimpleConfiguration.setExpiryPolicy(ExpiryPolicy<? super K,? super V> policy)
Set the ExpiryPolicy. |
| Constructors in javax.cache with parameters of type ExpiryPolicy | |
|---|---|
SimpleConfiguration(Iterable<CacheEntryListenerRegistration<? super K,? super V>> cacheEntryListenerRegistrations,
CacheLoader<K,? extends V> cacheLoader,
CacheWriter<? super K,? super V> cacheWriter,
ExpiryPolicy<? super K,? super V> expiryPolicy,
boolean isReadThrough,
boolean isWriteThrough,
boolean isStatisticsEnabled,
boolean isStoreByValue,
boolean isTransactionsEnabled,
IsolationLevel txnIsolationLevel,
Mode txnMode)
Constructs a SimpleConfiguration based on a set of parameters. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||