Interface Cache2kBuilderCustomizer
public interface Cache2kBuilderCustomizer
Callback interface that can be implemented by beans wishing to customize the default
setup for caches added to the manager through addCaches and for dynamically created
caches.
- Since:
- 2.7.0
- Author:
- Jens Wilke, Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(org.cache2k.Cache2kBuilder<?, ?> builder) Customize the default cache settings.
-
Method Details
-
customize
void customize(org.cache2k.Cache2kBuilder<?, ?> builder) Customize the default cache settings.- Parameters:
builder
- the builder to customize
-