Package org.cache2k.config
Interface Feature
-
- All Known Subinterfaces:
SingleFeature
- All Known Implementing Classes:
ToggleFeature
public interface Feature
Features need to properly implementequals()
andhashCode()
- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
voidenlist(CacheBuildContext<K,V> ctx)
The feature enables itself by augmenting the cache config.
-
-
-
Method Detail
-
enlist
<K,V> void enlist(CacheBuildContext<K,V> ctx)
The feature enables itself by augmenting the cache config. Called whenCache2kBuilder.build()
is called before the actual cache creation.
-
-