Interface JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder
- Enclosing interface:
- JCacheEndpointBuilderFactory
public static interface JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the JCache component.
-
-
Method Summary
-
-
-
Method Detail
-
basic
default JCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder basic()
-
cacheLoaderFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheLoaderFactory(Object cacheLoaderFactory)
The CacheLoader factory. The option is a: <code>javax.cache.configuration.Factory<javax.cache.integration.CacheLoader></code> type. Group: advanced- Parameters:
cacheLoaderFactory
- the value to set- Returns:
- the dsl builder
-
cacheLoaderFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheLoaderFactory(String cacheLoaderFactory)
The CacheLoader factory. The option will be converted to a <code>javax.cache.configuration.Factory<javax.cache.integration.CacheLoader></code> type. Group: advanced- Parameters:
cacheLoaderFactory
- the value to set- Returns:
- the dsl builder
-
cacheWriterFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheWriterFactory(Object cacheWriterFactory)
The CacheWriter factory. The option is a: <code>javax.cache.configuration.Factory<javax.cache.integration.CacheWriter></code> type. Group: advanced- Parameters:
cacheWriterFactory
- the value to set- Returns:
- the dsl builder
-
cacheWriterFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheWriterFactory(String cacheWriterFactory)
The CacheWriter factory. The option will be converted to a <code>javax.cache.configuration.Factory<javax.cache.integration.CacheWriter></code> type. Group: advanced- Parameters:
cacheWriterFactory
- the value to set- Returns:
- the dsl builder
-
createCacheIfNotExists
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder createCacheIfNotExists(boolean createCacheIfNotExists)
Configure if a cache need to be created if it does exist or can't be pre-configured. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
createCacheIfNotExists
- the value to set- Returns:
- the dsl builder
-
createCacheIfNotExists
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder createCacheIfNotExists(String createCacheIfNotExists)
Configure if a cache need to be created if it does exist or can't be pre-configured. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Parameters:
createCacheIfNotExists
- the value to set- Returns:
- the dsl builder
-
expiryPolicyFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder expiryPolicyFactory(Object expiryPolicyFactory)
The ExpiryPolicy factory. The option is a: <code>javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy></code> type. Group: advanced- Parameters:
expiryPolicyFactory
- the value to set- Returns:
- the dsl builder
-
expiryPolicyFactory
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder expiryPolicyFactory(String expiryPolicyFactory)
The ExpiryPolicy factory. The option will be converted to a <code>javax.cache.configuration.Factory<javax.cache.expiry.ExpiryPolicy></code> type. Group: advanced- Parameters:
expiryPolicyFactory
- the value to set- Returns:
- the dsl builder
-
lookupProviders
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder lookupProviders(boolean lookupProviders)
Configure if a camel-cache should try to find implementations of jcache api in runtimes like OSGi. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
lookupProviders
- the value to set- Returns:
- the dsl builder
-
lookupProviders
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder lookupProviders(String lookupProviders)
Configure if a camel-cache should try to find implementations of jcache api in runtimes like OSGi. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Parameters:
lookupProviders
- the value to set- Returns:
- the dsl builder
-
-