A B C D E F G I K L M N O P R S T V 

A

AutoEntryRefreshController<T> - Class in org.cache2k
If object implements ValueWithNextRefreshTime than the next refresh time is fetched from the object.
AutoEntryRefreshController() - Constructor for class org.cache2k.AutoEntryRefreshController
 

B

backgroundRefresh(boolean) - Method in class org.cache2k.CacheBuilder
 
build() - Method in class org.cache2k.CacheBuilder
 

C

Cache<K,T> - Interface in org.cache2k
Interface to the cache2k cache implementation.
CacheBuilder<K,T> - Class in org.cache2k
 
CacheBuilder() - Constructor for class org.cache2k.CacheBuilder
 
CacheBulkSource<K,T> - Interface in org.cache2k
 
CacheConfig - Class in org.cache2k
Cache configuration.
CacheConfig() - Constructor for class org.cache2k.CacheConfig
 
CacheManager - Class in org.cache2k
 
CacheManager() - Constructor for class org.cache2k.CacheManager
 
cacheSource - Variable in class org.cache2k.CacheBuilder
 
CacheSource<K,T> - Interface in org.cache2k
An interface to get a value by a key.
cacheSourceWithMetaInfo - Variable in class org.cache2k.CacheBuilder
 
CacheSourceWithMetaInfo<K,T> - Class in org.cache2k
 
CacheSourceWithMetaInfo() - Constructor for class org.cache2k.CacheSourceWithMetaInfo
 
calculateNextRefreshTime(T, T, long, long) - Method in class org.cache2k.AutoEntryRefreshController
 
calculateNextRefreshTime(T, T, long, long) - Method in class org.cache2k.EntryRefreshController
 
calculateNextRefreshTime(T, T, long, long) - Method in interface org.cache2k.RefreshController
Return time of next refresh (expiry time) in milliseconds since epoch.
clear() - Method in interface org.cache2k.Cache
Clear the cache contents
clear() - Method in class org.cache2k.CacheManager
Clear all caches associated to this cache manager
config - Variable in class org.cache2k.CacheBuilder
 
ctor(Class<K>, Class<T>, Class<?>) - Method in class org.cache2k.CacheBuilder
Builder is constructed from prototype

D

destroy() - Method in interface org.cache2k.Cache
Free all resources and remove the cache from the CacheManager.
destroy() - Method in class org.cache2k.CacheManager
Destroy all caches associated to this cache manager.

E

EntryRefreshController<T> - Class in org.cache2k
Fetch time of next refresh from the value object itself.
EntryRefreshController() - Constructor for class org.cache2k.EntryRefreshController
 
experimentalBulkCacheSource - Variable in class org.cache2k.CacheBuilder
 
ExperimentalBulkCacheSource<K,T> - Interface in org.cache2k
Deprecated.
expirySecs(int) - Method in class org.cache2k.CacheBuilder
 

F

fillValues(Set<MutableEntry<K, T>>) - Method in interface org.cache2k.CacheBulkSource
 

G

get(K) - Method in interface org.cache2k.Cache
Returns object mapped to key
get(K) - Method in interface org.cache2k.CacheSource
 
get(K, long, T, long) - Method in class org.cache2k.CacheSourceWithMetaInfo
 
get(K) - Method in interface org.cache2k.KeyValueSource
Returns object mapped to key
getAll(Set<? extends K>) - Method in interface org.cache2k.Cache
Disclaimer: This method is here to be able to support known coding similar to JSR107.
getBulk(K[], T[], BitSet, int, int) - Method in interface org.cache2k.ExperimentalBulkCacheSource
Deprecated.
Retrieves the objects associated with the given keys in the result array.
getConfig() - Method in class org.cache2k.CacheBuilder
 
getDefaultName() - Static method in class org.cache2k.CacheManager
Name of the default cache manager, which is "default" by default.
getEntryType() - Method in class org.cache2k.CacheConfig
 
getException() - Method in interface org.cache2k.MutableEntry
 
getExpirySeconds() - Method in class org.cache2k.CacheConfig
 
getImplementation() - Method in class org.cache2k.CacheConfig
 
getInstance() - Static method in class org.cache2k.CacheManager
Get the default cache manager for the class loader
getKey() - Method in interface org.cache2k.MutableEntry
 
getKeyType() - Method in class org.cache2k.CacheConfig
 
getMaxSize() - Method in class org.cache2k.CacheConfig
 
getMaxSizeHighBound() - Method in class org.cache2k.CacheConfig
 
getMaxSizeLowBound() - Method in class org.cache2k.CacheConfig
 
getName() - Method in interface org.cache2k.Cache
 
getName() - Method in class org.cache2k.CacheConfig
 
getName() - Method in class org.cache2k.CacheManager
 
getNextRefreshTime() - Method in interface org.cache2k.ValueWithNextRefreshTime
Return time of next refresh (expiry time).
getValue() - Method in interface org.cache2k.MutableEntry
 
getValueType() - Method in class org.cache2k.CacheConfig
 

I

implementation(Class<?>) - Method in class org.cache2k.CacheBuilder
 
INSTANCE - Static variable in class org.cache2k.AutoEntryRefreshController
 
INSTANCE - Static variable in class org.cache2k.EntryRefreshController
 
isBackgroundRefresh() - Method in class org.cache2k.CacheConfig
 
isDestroyed() - Method in class org.cache2k.CacheManager
 
isKeepDataAfterExpired() - Method in class org.cache2k.CacheConfig
 
iterator() - Method in class org.cache2k.CacheManager
 

K

KeyValueSource<K,T> - Interface in org.cache2k
Simple interface to return a value selected by a key object.

L

lastModification() - Method in interface org.cache2k.MutableEntry
 

M

maxSize(int) - Method in class org.cache2k.CacheBuilder
 
maxSizeBound(int) - Method in class org.cache2k.CacheBuilder
 
MutableEntry<K,T> - Interface in org.cache2k
 

N

name(Class<?>, String) - Method in class org.cache2k.CacheBuilder
Constructs a cache name out of the simple class name and fieldname.
name(Class<?>) - Method in class org.cache2k.CacheBuilder
 
name(Object, String) - Method in class org.cache2k.CacheBuilder
Constructs a cache name out of the simple class name and fieldname.
name(String) - Method in class org.cache2k.CacheBuilder
 
newCache(Class<K>, Class<T>) - Static method in class org.cache2k.CacheBuilder
 
newCache(Class<K>, Class<C>, Class<T>) - Static method in class org.cache2k.CacheBuilder
 

O

org.cache2k - package org.cache2k
 

P

peek(K) - Method in interface org.cache2k.Cache
Returns the value if it is mapped within the cache.
prefetch(K) - Method in interface org.cache2k.Cache
Signals the intend to call a get on the same key in the near future.
prefetch(Set<K>) - Method in interface org.cache2k.Cache
Signals the intend to call get on the set of keys in the near future.
prefetch(List<K>, int, int) - Method in interface org.cache2k.Cache
 
PropagatedCacheException - Exception in org.cache2k
If a cache receives an exception when fetching a value via the cache source it may propagate the exception wrapped into this one to the caller.
PropagatedCacheException(Throwable) - Constructor for exception org.cache2k.PropagatedCacheException
 
put(K, T) - Method in interface org.cache2k.Cache
Set object value for the key

R

refreshController - Variable in class org.cache2k.CacheBuilder
 
refreshController(RefreshController) - Method in class org.cache2k.CacheBuilder
 
RefreshController<T> - Interface in org.cache2k
Calculates the time when the object needs to be updated next.
remove(K) - Method in interface org.cache2k.Cache
Remove the object mapped to key from the cache.
removeAllAtOnce(Set<K>) - Method in interface org.cache2k.Cache
Remove the mappings for the keys atomically.

S

setBackgroundRefresh(boolean) - Method in class org.cache2k.CacheConfig
 
setDefaultName(String) - Static method in class org.cache2k.CacheManager
Reset the manager name once on application startup.
setEntryType(Class<?>) - Method in class org.cache2k.CacheConfig
 
setException(Throwable) - Method in interface org.cache2k.MutableEntry
 
setExpirySeconds(int) - Method in class org.cache2k.CacheConfig
Time to pass until an entry is expired and will not be returned by the cache any more.
setImplementation(Class<?>) - Method in class org.cache2k.CacheConfig
 
setKeepDataAfterExpired(boolean) - Method in class org.cache2k.CacheConfig
Expired data is kept in the cache until the entry is evicted by the replacement algorithm.
setKeyType(Class<?>) - Method in class org.cache2k.CacheConfig
 
setMaxSize(int) - Method in class org.cache2k.CacheConfig
 
setMaxSizeHighBound(int) - Method in class org.cache2k.CacheConfig
 
setMaxSizeLowBound(int) - Method in class org.cache2k.CacheConfig
 
setName(String) - Method in class org.cache2k.CacheConfig
 
setValue(T) - Method in interface org.cache2k.MutableEntry
 
setValueType(Class<?>) - Method in class org.cache2k.CacheConfig
 
source(CacheSource<K, T>) - Method in class org.cache2k.CacheBuilder
 
source(CacheSourceWithMetaInfo<K, T>) - Method in class org.cache2k.CacheBuilder
 
source(ExperimentalBulkCacheSource<K, T>) - Method in class org.cache2k.CacheBuilder
 

T

toString() - Method in interface org.cache2k.Cache
Returns information about the caches internal information.

V

ValueWithNextRefreshTime - Interface in org.cache2k
Interface for use with EntryRefreshController
A B C D E F G I K L M N O P R S T V 

cache2k API documentation. Copyright © 2000–2014 headissue GmbH, Munich.