Interface ConfigurationChildBuilder

    • Method Detail

      • addServers

        ConfigurationBuilder addServers​(java.lang.String servers)
        Adds a list of remote servers in the form: host1[:port][;host2[:port]]...
      • asyncExecutorFactory

        ExecutorFactoryConfigurationBuilder asyncExecutorFactory()
        Configuration for the executor service used for asynchronous work on the Transport, including asynchronous marshalling and Cache 'async operations' such as Cache.putAsync().
      • balancingStrategy

        ConfigurationBuilder balancingStrategy​(java.lang.String balancingStrategy)
        For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.
      • balancingStrategy

        ConfigurationBuilder balancingStrategy​(java.util.function.Supplier<FailoverRequestBalancingStrategy> balancingStrategyFactory)
        For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.
      • balancingStrategy

        ConfigurationBuilder balancingStrategy​(java.lang.Class<? extends FailoverRequestBalancingStrategy> balancingStrategy)
        For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.
      • classLoader

        @Deprecated
        ConfigurationBuilder classLoader​(java.lang.ClassLoader classLoader)
        Deprecated.
        since 9.0. If you need to load configuration resources from other locations, you will need to do so yourself and use the appropriate configuration methods (e.g. SslConfigurationBuilder.sslContext(javax.net.ssl.SSLContext))
        Specifies the ClassLoader used to find certain resources used by configuration when specified by name (e.g. certificate stores). Infinispan will search through the classloader which loaded this class, the system classloader, the TCCL and the OSGi classloader (if applicable).
      • connectionTimeout

        ConfigurationBuilder connectionTimeout​(int connectionTimeout)
        This property defines the maximum socket connect timeout before giving up connecting to the server.
      • consistentHashImpl

        ConfigurationBuilder consistentHashImpl​(int version,
                                                java.lang.Class<? extends org.infinispan.client.hotrod.impl.consistenthash.ConsistentHash> consistentHashClass)
        Defines the ConsistentHash implementation to use for the specified version. By default, ConsistentHashV2 is used for version 1 and ConsistentHashV2 is used for version 2.
      • consistentHashImpl

        ConfigurationBuilder consistentHashImpl​(int version,
                                                java.lang.String consistentHashClass)
        Defines the ConsistentHash implementation to use for the specified version. By default, ConsistentHashV2 is used for version 1 and ConsistentHashV2 is used for version 2.
      • forceReturnValues

        ConfigurationBuilder forceReturnValues​(boolean forceReturnValues)
        Whether or not to implicitly FORCE_RETURN_VALUE for all calls.
      • keySizeEstimate

        ConfigurationBuilder keySizeEstimate​(int keySizeEstimate)
        This hint allows sizing of byte buffers when serializing and deserializing keys, to minimize array resizing. It defaults to 64.
      • protocolVersion

        @Deprecated
        ConfigurationBuilder protocolVersion​(java.lang.String protocolVersion)
        Deprecated.
        This property defines the protocol version that this client should use. Defaults to the latest protocol version supported by this client.
      • version

        ConfigurationBuilder version​(ProtocolVersion protocolVersion)
        This property defines the protocol version that this client should use. Defaults to the latest protocol version supported by this client.
      • socketTimeout

        ConfigurationBuilder socketTimeout​(int socketTimeout)
        This property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server. Defaults to 60000 (1 minute)
      • tcpNoDelay

        ConfigurationBuilder tcpNoDelay​(boolean tcpNoDelay)
        Affects TCP NODELAY on the TCP stack. Defaults to enabled
      • tcpKeepAlive

        ConfigurationBuilder tcpKeepAlive​(boolean keepAlive)
        Affects TCP KEEPALIVE on the TCP stack. Defaults to disable
      • transportFactory

        @Deprecated
        ConfigurationBuilder transportFactory​(java.lang.String transportFactory)
        Deprecated.
        Ignored.
        Controls which transport to use.
      • transportFactory

        @Deprecated
        ConfigurationBuilder transportFactory​(java.lang.Class<? extends org.infinispan.client.hotrod.impl.transport.TransportFactory> transportFactory)
        Deprecated.
        Ignored.
        Controls which transport to use.
      • valueSizeEstimate

        ConfigurationBuilder valueSizeEstimate​(int valueSizeEstimate)
        This hint allows sizing of byte buffers when serializing and deserializing values, to minimize array resizing. It defaults to 512
      • maxRetries

        ConfigurationBuilder maxRetries​(int maxRetries)
        It sets the maximum number of retries for each request. A valid value should be greater or equals than 0 (zero). Zero means no retry will made in case of a network failure. It defaults to 10.
      • addJavaSerialWhiteList

        ConfigurationBuilder addJavaSerialWhiteList​(java.lang.String... regEx)
        List of regular expressions for classes that can be deserialized using standard Java deserialization when reading data that might have been stored with a different endpoint, e.g. REST.
      • batchSize

        ConfigurationBuilder batchSize​(int batchSize)
        Sets the batch size of internal iterators (ie. keySet().iterator(). Defaults to 10_000
        Parameters:
        batchSize - the batch size to set
        Returns:
        this configuration builder with the batch size set