Package | Description |
---|---|
javax.cache |
This package contains the API for JCache.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Cache.MutableEntry<K,V>
An accessor and mutator to the underlying Cache
|
Modifier and Type | Method and Description |
---|---|
Cache.Entry<K,V> |
CacheLoader.load(K key)
Loads an object.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Cache.Entry<K,V>> |
Cache.iterator()
The ordering of iteration over entries is undefined.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Duration |
ExpiryPolicy.getTTLForAccessedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the accessed Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Accessed.getTTLForAccessedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the accessed Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Modified.getTTLForAccessedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the accessed Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Default.getTTLForAccessedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the accessed Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.getTTLForCreatedEntry(Cache.Entry<? extends K,? extends V> entry)
Gets the time-to-live before the newly Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Accessed.getTTLForCreatedEntry(Cache.Entry<? extends K,? extends V> entry)
Gets the time-to-live before the newly Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Modified.getTTLForCreatedEntry(Cache.Entry<? extends K,? extends V> entry)
Gets the time-to-live before the newly Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Default.getTTLForCreatedEntry(Cache.Entry<? extends K,? extends V> entry)
Gets the time-to-live before the newly Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.getTTLForModifiedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the modified Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Accessed.getTTLForModifiedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the modified Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Modified.getTTLForModifiedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the modified Cache.Entry is considered expired.
|
Configuration.Duration |
ExpiryPolicy.Default.getTTLForModifiedEntry(Cache.Entry<? extends K,? extends V> entry,
Configuration.Duration duration)
Gets the time-to-live before the modified Cache.Entry is considered expired.
|
void |
CacheWriter.write(Cache.Entry<? extends K,? extends V> entry)
Write the specified value under the specified key to the underlying store.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheWriter.writeAll(Collection<Cache.Entry<? extends K,? extends V>> entries)
Write the specified entries to the underlying store.
|
Copyright © 2013. All Rights Reserved.