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
Modifier and TypeMethodDescriptionadvanced()cacheConfiguration(String cacheConfiguration) A Configuration for the Cache.cacheConfiguration(javax.cache.configuration.Configuration cacheConfiguration) A Configuration for the Cache.cacheConfigurationProperties(String cacheConfigurationProperties) The Properties for the javax.cache.spi.CachingProvider to create the CacheManager.cacheConfigurationProperties(Properties cacheConfigurationProperties) The Properties for the javax.cache.spi.CachingProvider to create the CacheManager.cachingProvider(String cachingProvider) The fully qualified class name of the javax.cache.spi.CachingProvider.configurationUri(String configurationUri) An implementation specific URI for the CacheManager.managementEnabled(boolean managementEnabled) Whether management gathering is enabled.managementEnabled(String managementEnabled) Whether management gathering is enabled.readThrough(boolean readThrough) If read-through caching should be used.readThrough(String readThrough) If read-through caching should be used.statisticsEnabled(boolean statisticsEnabled) Whether statistics gathering is enabled.statisticsEnabled(String statisticsEnabled) Whether statistics gathering is enabled.storeByValue(boolean storeByValue) If cache should use store-by-value or store-by-reference semantics.storeByValue(String storeByValue) If cache should use store-by-value or store-by-reference semantics.writeThrough(boolean writeThrough) If write-through caching should be used.writeThrough(String writeThrough) If write-through caching should be used.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.JCacheEndpointConsumerBuilder
filteredEvents, oldValueRequired, oldValueRequired, synchronous, synchronousMethods inherited from interface org.apache.camel.builder.endpoint.dsl.JCacheEndpointBuilderFactory.JCacheEndpointProducerBuilder
action
-
Method Details
-
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
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
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
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
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
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
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
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
-