Interface Feature

  • All Known Subinterfaces:
    SingleFeature
    All Known Implementing Classes:
    ToggleFeature

    public interface Feature
    Features need to properly implement equals() and hashCode()
    Author:
    Jens Wilke
    • Method Detail

      • enlist

        <K,​V> void enlist​(CacheBuildContext<K,​V> ctx)
        The feature enables itself by augmenting the cache config. Called when Cache2kBuilder.build() is called before the actual cache creation.