K
- Key TypeV
- Value Type@Factory
public class CacheConfigurationFactory<K,V>
extends java.lang.Object
CacheConfiguration.Builder
for each MicroStreamCacheConfiguration
.Constructor and Description |
---|
CacheConfigurationFactory(io.micronaut.context.BeanContext beanContext) |
Modifier and Type | Method and Description |
---|---|
one.microstream.cache.types.CacheConfiguration.Builder<K,V> |
createCacheConfigurationProvider(MicroStreamCacheConfiguration<K,V> cacheConfiguration)
Creates a
CacheConfiguration.Builder for each MicroStreamCacheConfiguration . |
public CacheConfigurationFactory(io.micronaut.context.BeanContext beanContext)
beanContext
- Bean Context@EachBean(value=MicroStreamCacheConfiguration.class) @Singleton public one.microstream.cache.types.CacheConfiguration.Builder<K,V> createCacheConfigurationProvider(MicroStreamCacheConfiguration<K,V> cacheConfiguration)
CacheConfiguration.Builder
for each MicroStreamCacheConfiguration
.cacheConfiguration
- Cache Configuration