| Package | Description |
|---|---|
| org.nerd4j.utils.cache |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCacheProvider<V>
Abstract implementation of the
CacheProvider interface
that implements all the common checks and logic allowing the
extending classes to implement only the underlying caching
system related logic. |
class |
EmptyCacheProvider<V>
Dummy implementation of the
CacheProvider interface
that implements the design pattern Empty Object. |
class |
HeapCacheProvider<V>
Implementation of the
CacheProvider interface
that uses the local heap as the cache storage. |
| Modifier and Type | Field and Description |
|---|---|
protected CacheProvider<V> |
AbstractSelfLoadingCache.cacheProvider
Underlying caching system provider.
|
protected CacheProvider<V> |
SelfLoadingCacheBuilder.cacheProvider
The underlying caching system provider.
|
| Constructor and Description |
|---|
AbstractSelfLoadingCache(CacheConfig cacheConfig,
CacheProvider<V> cacheProvider)
Constructor with parameters.
|
SelfLoadingCacheBuilder(CacheProvider<V> cacheProvider)
Default constructor.
|
Copyright © 2011–2020 Nerd4j. All rights reserved.