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 Detail

      • cacheLoaderFactory

        default JCacheEndpointBuilderFactory.AdvancedJCacheEndpointProducerBuilder cacheLoaderFactory​(Object cacheLoaderFactory)
        The CacheLoader factory. The option is a: <code>javax.cache.configuration.Factory&lt;javax.cache.integration.CacheLoader&gt;</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&lt;javax.cache.integration.CacheLoader&gt;</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&lt;javax.cache.integration.CacheWriter&gt;</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&lt;javax.cache.integration.CacheWriter&gt;</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&lt;javax.cache.expiry.ExpiryPolicy&gt;</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&lt;javax.cache.expiry.ExpiryPolicy&gt;</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