Class LruCacheConfig.BuilderBase.LruCacheConfigImpl<K,V>

java.lang.Object
io.helidon.common.configurable.LruCacheConfig.BuilderBase.LruCacheConfigImpl<K,V>
Type Parameters:
K - type of keys
V - type of values
All Implemented Interfaces:
io.helidon.builder.api.Prototype.Api, io.helidon.builder.api.Prototype.Factory<LruCache<K,V>>, LruCacheConfig<K,V>, Supplier<LruCache<K,V>>
Enclosing class:
LruCacheConfig.BuilderBase<K,V,BUILDER extends LruCacheConfig.BuilderBase<K,V,BUILDER,PROTOTYPE>,PROTOTYPE extends LruCacheConfig<K,V>>

protected static class LruCacheConfig.BuilderBase.LruCacheConfigImpl<K,V> extends Object implements LruCacheConfig<K,V>, Supplier<LruCache<K,V>>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • LruCacheConfigImpl

      protected LruCacheConfigImpl(LruCacheConfig.BuilderBase<K,V,?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • build

      public LruCache<K,V> build()
      Specified by:
      build in interface io.helidon.builder.api.Prototype.Factory<K>
    • get

      public LruCache<K,V> get()
      Specified by:
      get in interface Supplier<K>
    • capacity

      public int capacity()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object