Interface | Description |
---|---|
Cache<K,V> |
A Cache provides storage of data for later fast retrieval.
|
Cache.Entry<K,V> |
A cache entry (key-value pair).
|
Cache.EntryProcessor<K,V> |
Allows execution of code which may mutate a cache entry with exclusive
access (including reads) to that entry.
|
Cache.MutableEntry<K,V> |
An accessor and mutator to the underlying Cache
|
CacheBuilder<K,V> |
A CacheBuilder is used for creating Caches.
|
CacheConfiguration<K,V> |
A value object for cache configuration.
|
CacheLifecycle |
Cache resources may have non-trivial initialisation and disposal procedures.
|
CacheLoader<K,V> |
Used for read-through caching and loading data into a cache.
|
CacheManager |
A CacheManager is used for looking up Caches and controls their lifecycle.
|
CacheManagerFactory |
Manages CacheManager instances.
|
CacheStatistics |
Cache statistics.
|
CacheWriter<K,V> |
A CacheWriter is used for write-through to an underlying resource.
|
Class | Description |
---|---|
CacheConfiguration.Duration |
A time duration.
|
Caching |
A factory for creating CacheManagers using the SPI conventions in the JDK's
ServiceLoader
For a provider to be discovered, its jar must contain a resource called: |
Enum | Description |
---|---|
CacheConfiguration.ExpiryType |
Type of Expiry
|
OptionalFeature |
Optional features that may be present in an implementation.
|
Status |
Indicates the lifecycle status of a resource.
|
Exception | Description |
---|---|
CacheException |
Thrown to indicate an exception has occurred in the Cache.
|
CachingShutdownException |
Thrown to indicate an exception has occurred in an aggregate Caching shutdown
procedure.
|
InvalidConfigurationException |
An exception to report invalid configuration settings.
|
Copyright © 2015 WSO2 Inc. All rights reserved.