| Package | Description |
|---|---|
| org.cache2k.configuration |
The cache configuration as a Java bean and support types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CustomizationReferenceSupplier<T>
A reference to the customization to be used is set while building the cache.
|
class |
CustomizationSupplierByClassName<T>
Creates a new instance of the customization based on the class name and the class loader
in effect by the cache.
|
| Modifier and Type | Method and Description |
|---|---|
CustomizationSupplier<AdvancedCacheLoader<K,V>> |
Cache2kConfiguration.getAdvancedLoader() |
CustomizationSupplier<Executor> |
Cache2kConfiguration.getAsyncListenerExecutor() |
CustomizationSupplier<ExceptionPropagator<K>> |
Cache2kConfiguration.getExceptionPropagator() |
CustomizationSupplier<ExpiryPolicy<K,V>> |
Cache2kConfiguration.getExpiryPolicy() |
CustomizationSupplier<? extends FunctionalCacheLoader<K,V>> |
Cache2kConfiguration.getLoader() |
CustomizationSupplier<Executor> |
Cache2kConfiguration.getLoaderExecutor() |
CustomizationSupplier<Executor> |
Cache2kConfiguration.getPrefetchExecutor() |
CustomizationSupplier<ResiliencePolicy<K,V>> |
Cache2kConfiguration.getResiliencePolicy() |
CustomizationSupplier<TimeReference> |
Cache2kConfiguration.getTimeReference() |
CustomizationSupplier<CacheWriter<K,V>> |
Cache2kConfiguration.getWriter() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<CustomizationSupplier<T>> |
DefaultCustomizationCollection.iterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CustomizationCollection.addAll(Collection<? extends CustomizationSupplier<T>> c)
Adds all customizations to the collection.
|
void |
Cache2kConfiguration.setAsyncListeners(Collection<CustomizationSupplier<CacheEntryOperationListener<K,V>>> c)
Adds the collection of customizations to the existing list.
|
void |
Cache2kConfiguration.setCacheClosedListeners(Collection<CustomizationSupplier<CacheClosedListener>> c)
Adds the collection of customizations to the existing list.
|
void |
Cache2kConfiguration.setListeners(Collection<CustomizationSupplier<CacheEntryOperationListener<K,V>>> c)
Adds the collection of customizations to the existing list.
|
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.