Interface JCacheEndpointBuilderFactory.JCacheEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,JCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder,JCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder
- Enclosing interface:
- JCacheEndpointBuilderFactory
public static interface JCacheEndpointBuilderFactory.JCacheEndpointBuilder extends JCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder, JCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder
Builder for endpoint for the JCache component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilderadvanced()default JCacheEndpointBuilderFactory.JCacheEndpointBuildercacheConfiguration(String cacheConfiguration)A Configuration for the Cache.default JCacheEndpointBuilderFactory.JCacheEndpointBuildercacheConfiguration(javax.cache.configuration.Configuration cacheConfiguration)A Configuration for the Cache.default JCacheEndpointBuilderFactory.JCacheEndpointBuildercacheConfigurationProperties(String cacheConfigurationProperties)The Properties for the javax.cache.spi.CachingProvider to create the CacheManager.default JCacheEndpointBuilderFactory.JCacheEndpointBuildercacheConfigurationProperties(Properties cacheConfigurationProperties)The Properties for the javax.cache.spi.CachingProvider to create the CacheManager.default JCacheEndpointBuilderFactory.JCacheEndpointBuildercachingProvider(String cachingProvider)The fully qualified class name of the javax.cache.spi.CachingProvider.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderconfigurationUri(String configurationUri)An implementation specific URI for the CacheManager.default JCacheEndpointBuilderFactory.JCacheEndpointBuildermanagementEnabled(boolean managementEnabled)Whether management gathering is enabled.default JCacheEndpointBuilderFactory.JCacheEndpointBuildermanagementEnabled(String managementEnabled)Whether management gathering is enabled.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderreadThrough(boolean readThrough)If read-through caching should be used.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderreadThrough(String readThrough)If read-through caching should be used.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderstatisticsEnabled(boolean statisticsEnabled)Whether statistics gathering is enabled.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderstatisticsEnabled(String statisticsEnabled)Whether statistics gathering is enabled.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderstoreByValue(boolean storeByValue)If cache should use store-by-value or store-by-reference semantics.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderstoreByValue(String storeByValue)If cache should use store-by-value or store-by-reference semantics.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderwriteThrough(boolean writeThrough)If write-through caching should be used.default JCacheEndpointBuilderFactory.JCacheEndpointBuilderwriteThrough(String writeThrough)If write-through caching should be used.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder
filteredEvents, oldValueRequired, oldValueRequired, synchronous, synchronous
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder
action
-
-
-
-
Method Detail
-
advanced
default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointBuilder advanced()
- Specified by:
advancedin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
advancedin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder
-
cacheConfiguration
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder cacheConfiguration(javax.cache.configuration.Configuration cacheConfiguration)
A Configuration for the Cache. The option is a: <code>javax.cache.configuration.Configuration</code> type. Group: common- Specified by:
cacheConfigurationin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
cacheConfigurationin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
cacheConfiguration- the value to set- Returns:
- the dsl builder
-
cacheConfiguration
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder cacheConfiguration(String cacheConfiguration)
A Configuration for the Cache. The option will be converted to a <code>javax.cache.configuration.Configuration</code> type. Group: common- Specified by:
cacheConfigurationin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
cacheConfigurationin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
cacheConfiguration- the value to set- Returns:
- the dsl builder
-
cacheConfigurationProperties
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder cacheConfigurationProperties(Properties cacheConfigurationProperties)
The Properties for the javax.cache.spi.CachingProvider to create the CacheManager. The option is a: <code>java.util.Properties</code> type. Group: common- Specified by:
cacheConfigurationPropertiesin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
cacheConfigurationPropertiesin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
cacheConfigurationProperties- the value to set- Returns:
- the dsl builder
-
cacheConfigurationProperties
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder cacheConfigurationProperties(String cacheConfigurationProperties)
The Properties for the javax.cache.spi.CachingProvider to create the CacheManager. The option will be converted to a <code>java.util.Properties</code> type. Group: common- Specified by:
cacheConfigurationPropertiesin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
cacheConfigurationPropertiesin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
cacheConfigurationProperties- the value to set- Returns:
- the dsl builder
-
cachingProvider
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder cachingProvider(String cachingProvider)
The fully qualified class name of the javax.cache.spi.CachingProvider. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
cachingProviderin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
cachingProviderin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
cachingProvider- the value to set- Returns:
- the dsl builder
-
configurationUri
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder configurationUri(String configurationUri)
An implementation specific URI for the CacheManager. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
configurationUriin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
configurationUriin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
configurationUri- the value to set- Returns:
- the dsl builder
-
managementEnabled
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder managementEnabled(boolean managementEnabled)
Whether management gathering is enabled. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
managementEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
managementEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
managementEnabled- the value to set- Returns:
- the dsl builder
-
managementEnabled
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder managementEnabled(String managementEnabled)
Whether management gathering is enabled. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
managementEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
managementEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
managementEnabled- the value to set- Returns:
- the dsl builder
-
readThrough
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder readThrough(boolean readThrough)
If read-through caching should be used. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
readThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
readThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
readThrough- the value to set- Returns:
- the dsl builder
-
readThrough
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder readThrough(String readThrough)
If read-through caching should be used. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
readThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
readThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
readThrough- the value to set- Returns:
- the dsl builder
-
statisticsEnabled
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder statisticsEnabled(boolean statisticsEnabled)
Whether statistics gathering is enabled. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
statisticsEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
statisticsEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
statisticsEnabled- the value to set- Returns:
- the dsl builder
-
statisticsEnabled
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder statisticsEnabled(String statisticsEnabled)
Whether statistics gathering is enabled. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
statisticsEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
statisticsEnabledin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
statisticsEnabled- the value to set- Returns:
- the dsl builder
-
storeByValue
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder storeByValue(boolean storeByValue)
If cache should use store-by-value or store-by-reference semantics. The option is a: <code>boolean</code> type. Default: true Group: common- Specified by:
storeByValuein interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
storeByValuein interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
storeByValue- the value to set- Returns:
- the dsl builder
-
storeByValue
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder storeByValue(String storeByValue)
If cache should use store-by-value or store-by-reference semantics. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Specified by:
storeByValuein interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
storeByValuein interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
storeByValue- the value to set- Returns:
- the dsl builder
-
writeThrough
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder writeThrough(boolean writeThrough)
If write-through caching should be used. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
writeThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
writeThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
writeThrough- the value to set- Returns:
- the dsl builder
-
writeThrough
default JCacheEndpointBuilderFactory.JCacheEndpointBuilder writeThrough(String writeThrough)
If write-through caching should be used. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
writeThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder- Specified by:
writeThroughin interfaceJCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder- Parameters:
writeThrough- the value to set- Returns:
- the dsl builder
-
-