Class RemoteCacheConfigurationBuilder

    • Method Detail

      • forceReturnValues

        public RemoteCacheConfigurationBuilder forceReturnValues​(boolean forceReturnValues)
        Whether or not to implicitly FORCE_RETURN_VALUE for all calls to this cache.
      • nearCacheUseBloomFilter

        public RemoteCacheConfigurationBuilder nearCacheUseBloomFilter​(boolean enable)
        Specifies whether bloom filter should be used for near cache to limit the number of write notifications for unrelated keys.
        Parameters:
        enable - whether to enable bloom filter
        Returns:
        an instance of this builder
      • configuration

        public RemoteCacheConfigurationBuilder configuration​(String configuration)
        Specifies the declarative configuration to be used to create the cache if it doesn't already exist on the server.
        Parameters:
        configuration - the XML representation of a cache configuration.
        Returns:
        an instance of the builder
      • configurationURI

        public RemoteCacheConfigurationBuilder configurationURI​(URI uri)
        Specifies a URI pointing to the declarative configuration to be used to create the cache if it doesn't already exist on the server.
        Parameters:
        uri - the URI of the configuration.
        Returns:
        an instance of the builder
      • templateName

        public RemoteCacheConfigurationBuilder templateName​(String templateName)
        Specifies the name of a template to be used to create the cache if it doesn't already exist on the server.
        Parameters:
        templateName - the name of the template.
        Returns:
        an instance of the builder
      • templateName

        public RemoteCacheConfigurationBuilder templateName​(DefaultTemplate template)
        Specifies one of the default templates to be used to create the cache if it doesn't already exist on the server.
        Parameters:
        template - the template to use
        Returns:
        an instance of the builder
      • read

        public Builder<?> read​(RemoteCacheConfiguration template)
        Description copied from interface: Builder
        Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration
        Specified by:
        read in interface Builder<RemoteCacheConfiguration>
        Parameters:
        template - the configuration from which to "clone" this config if needed.