Package io.helidon.common.configurable
Class LruCacheConfig.BuilderBase.LruCacheConfigImpl<K,V>
java.lang.Object
io.helidon.common.configurable.LruCacheConfig.BuilderBase.LruCacheConfigImpl<K,V>
- Type Parameters:
K
- type of keysV
- type of values
- All Implemented Interfaces:
Prototype.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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.configurable.LruCacheConfig
LruCacheConfig.Builder<K,
V>, LruCacheConfig.BuilderBase<K, V, BUILDER extends LruCacheConfig.BuilderBase<K, V, BUILDER, PROTOTYPE>, PROTOTYPE extends LruCacheConfig<K, V>> -
Constructor Summary
ModifierConstructorDescriptionprotected
LruCacheConfigImpl
(LruCacheConfig.BuilderBase<K, V, ?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
LruCacheConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<K>
- Returns:
- new configured runtime instance
-
get
-
capacity
public int capacity() -
toString
-
equals
-
hashCode
public int hashCode()
-