public class CacheBuilder<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheBuilder.MapBuilder<K,V>
Used to generate map caches
|
static class |
CacheBuilder.NormalBuilder<T>
Used to construct caches for single values.
|
| Constructor and Description |
|---|
CacheBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<K> CacheBuilder.MapBuilder<K,T> |
map()
Specify that you want a map cache.
|
CacheBuilder.NormalBuilder<T> |
normal()
Specify that you want a normal cache.
|
SimpleCache<T> |
simple()
Generates a simple cache
|
public SimpleCache<T> simple()
public CacheBuilder.NormalBuilder<T> normal()
public <K> CacheBuilder.MapBuilder<K,T> map()