public static interface CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder extends ComponentBuilder<org.apache.camel.component.caffeine.cache.CaffeineCacheComponent>
| Modifier and Type | Method and Description |
|---|---|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
action(String action)
To configure the default cache action.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
cacheLoader(com.github.benmanes.caffeine.cache.CacheLoader cacheLoader)
To configure a CacheLoader in case of a LoadCache use.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
configuration(org.apache.camel.component.caffeine.CaffeineConfiguration configuration)
Sets the global component configuration.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
createCacheIfNotExist(boolean createCacheIfNotExist)
Configure if a cache need to be created if it does exist or can't be
pre-configured.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
evictionType(org.apache.camel.component.caffeine.EvictionType evictionType)
Set the eviction Type for this cache.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
expireAfterAccessTime(int expireAfterAccessTime)
Set the expire After Access Time in case of time based Eviction (in
seconds).
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
expireAfterWriteTime(int expireAfterWriteTime)
Set the expire After Access Write in case of time based Eviction (in
seconds).
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
initialCapacity(int initialCapacity)
Set the initial Capacity for the cache.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
key(Object key)
To configure the default action key.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
keyType(String keyType)
The cache key type, default java.lang.Object.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
maximumSize(int maximumSize)
Set the maximum size for the cache.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
removalListener(com.github.benmanes.caffeine.cache.RemovalListener removalListener)
Set a specific removal Listener for the cache.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
statsCounter(com.github.benmanes.caffeine.cache.stats.StatsCounter statsCounter)
Set a specific Stats Counter for the cache stats.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
statsEnabled(boolean statsEnabled)
To enable stats on the cache.
|
default CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder |
valueType(String valueType)
The cache value type, default java.lang.Object.
|
build, build, doSetProperty, registerdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder action(String action)
action - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder cacheLoader(com.github.benmanes.caffeine.cache.CacheLoader cacheLoader)
cacheLoader - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder createCacheIfNotExist(boolean createCacheIfNotExist)
createCacheIfNotExist - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder evictionType(org.apache.camel.component.caffeine.EvictionType evictionType)
evictionType - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder expireAfterAccessTime(int expireAfterAccessTime)
expireAfterAccessTime - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder expireAfterWriteTime(int expireAfterWriteTime)
expireAfterWriteTime - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder initialCapacity(int initialCapacity)
initialCapacity - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder key(Object key)
key - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder maximumSize(int maximumSize)
maximumSize - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder removalListener(com.github.benmanes.caffeine.cache.RemovalListener removalListener)
removalListener - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder statsCounter(com.github.benmanes.caffeine.cache.stats.StatsCounter statsCounter)
statsCounter - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder statsEnabled(boolean statsEnabled)
statsEnabled - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder configuration(org.apache.camel.component.caffeine.CaffeineConfiguration configuration)
configuration - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder keyType(String keyType)
keyType - the value to setdefault CaffeineCacheComponentBuilderFactory.CaffeineCacheComponentBuilder valueType(String valueType)
valueType - the value to setApache Camel