Package io.helidon.common.configurable
Class LruCacheConfig.Builder<K,V>
java.lang.Object
io.helidon.common.configurable.LruCacheConfig.BuilderBase<K,V,LruCacheConfig.Builder<K,V>,LruCacheConfig<K,V>>
io.helidon.common.configurable.LruCacheConfig.Builder<K,V>
- Type Parameters:
K
- type of keysV
- type of values
- All Implemented Interfaces:
Prototype.Builder<LruCacheConfig.Builder<K,
,V>, LruCacheConfig<K, V>> Prototype.ConfiguredBuilder<LruCacheConfig.Builder<K,
,V>, LruCacheConfig<K, V>> Builder<LruCacheConfig.Builder<K,
,V>, LruCache<K, V>> Supplier<LruCache<K,
V>>
- Enclosing interface:
LruCacheConfig<K,
V>
public static class LruCacheConfig.Builder<K,V>
extends LruCacheConfig.BuilderBase<K,V,LruCacheConfig.Builder<K,V>,LruCacheConfig<K,V>>
implements Builder<LruCacheConfig.Builder<K,V>,LruCache<K,V>>
Fluent API builder for
LruCache
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.common.configurable.LruCacheConfig.BuilderBase
LruCacheConfig.BuilderBase.LruCacheConfigImpl<K,
V> -
Method Summary
Methods inherited from class io.helidon.common.configurable.LruCacheConfig.BuilderBase
capacity, capacity, config, config, from, from, preBuildPrototype, toString, validatePrototype
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.builder.api.Prototype.Builder
self
Methods inherited from interface io.helidon.builder.api.Prototype.ConfiguredBuilder
discoverService, discoverServices
-
Method Details
-
buildPrototype
Description copied from interface:Prototype.Builder
Create an instance of thePrototype
. This method is available on all generated builders forPrototype.Blueprint
.- Specified by:
buildPrototype
in interfacePrototype.Builder<K,
V> - Returns:
- an instance of the setup object created from this builder
-
build
Description copied from interface:Builder
Build the instance from this builder.
-