Interface RemoteStoreConfigurationChildBuilder<S>
-
- All Superinterfaces:
ConfigurationChildBuilder,StoreConfigurationChildBuilder<S>
- All Known Implementing Classes:
AbstractRemoteStoreConfigurationChildBuilder,AbstractSecurityConfigurationChildBuilder,AuthenticationConfigurationBuilder,ConnectionPoolConfigurationBuilder,ExecutorFactoryConfigurationBuilder,KeyStoreConfigurationBuilder,MechanismConfigurationBuilder,RemoteServerConfigurationBuilder,RemoteStoreConfigurationBuilder,SecurityConfigurationBuilder,SslConfigurationBuilder,TrustStoreConfigurationBuilder
public interface RemoteStoreConfigurationChildBuilder<S> extends StoreConfigurationChildBuilder<S>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RemoteServerConfigurationBuilderaddServer()Adds a new remote serverExecutorFactoryConfigurationBuilderasyncExecutorFactory()Configuration for the executor service used for asynchronous work on the Transport, including asynchronous marshalling and Cache 'async operations' such as Cache.putAsync().RemoteStoreConfigurationBuilderbalancingStrategy(String balancingStrategy)For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.ConnectionPoolConfigurationBuilderconnectionPool()Configures the connection poolRemoteStoreConfigurationBuilderconnectionTimeout(long connectionTimeout)This property defines the maximum socket connect timeout before giving up connecting to the server.RemoteStoreConfigurationBuilderforceReturnValues(boolean forceReturnValues)Whether or not to implicitly FORCE_RETURN_VALUE for all calls.RemoteStoreConfigurationBuilderhotRodWrapping(boolean hotRodWrapping)Configures this RemoteStore so that it enables all settings needed to create entries to be served by a HotRod endpoint, for example when performing rolling upgrades.RemoteStoreConfigurationBuilderkeySizeEstimate(int keySizeEstimate)Deprecated.Since 12.0, does nothing and will be removed in 15.0RemoteStoreConfigurationBuildermarshaller(Class<? extends Marshaller> marshaller)Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects.RemoteStoreConfigurationBuildermarshaller(String marshaller)Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects.RemoteStoreConfigurationBuilderprotocolVersion(ProtocolVersion protocolVersion)This property defines the protocol version that this client should use.RemoteStoreConfigurationBuilderrawValues(boolean rawValues)Normally theRemoteStorestores values wrapped inInternalCacheEntry.RemoteStoreConfigurationBuilderremoteCacheName(String remoteCacheName)The name of the remote cache in the remote infinispan cluster, to which to connect to.SecurityConfigurationBuilderremoteSecurity()Configures connection securityRemoteStoreConfigurationBuildersocketTimeout(long socketTimeout)This property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server.RemoteStoreConfigurationBuildertcpNoDelay(boolean tcpNoDelay)Affects TCP NODELAY on the TCP stack.RemoteStoreConfigurationBuildertransportFactory(Class<? extends org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory> transportFactory)Deprecated.since 10.0.RemoteStoreConfigurationBuildertransportFactory(String transportFactory)Deprecated.since 10.0.RemoteStoreConfigurationBuildervalueSizeEstimate(int valueSizeEstimate)Deprecated.Since 12.0, does nothing and will be removed in 15.0-
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe, validate
-
Methods inherited from interface org.infinispan.configuration.cache.StoreConfigurationChildBuilder
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties, writeOnly
-
-
-
-
Method Detail
-
addServer
RemoteServerConfigurationBuilder addServer()
Adds a new remote server
-
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
RemoteStoreConfigurationBuilder balancingStrategy(String balancingStrategy)
For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.
-
connectionPool
ConnectionPoolConfigurationBuilder connectionPool()
Configures the connection pool
-
connectionTimeout
RemoteStoreConfigurationBuilder connectionTimeout(long connectionTimeout)
This property defines the maximum socket connect timeout before giving up connecting to the server.
-
forceReturnValues
RemoteStoreConfigurationBuilder forceReturnValues(boolean forceReturnValues)
Whether or not to implicitly FORCE_RETURN_VALUE for all calls.
-
hotRodWrapping
RemoteStoreConfigurationBuilder hotRodWrapping(boolean hotRodWrapping)
Configures this RemoteStore so that it enables all settings needed to create entries to be served by a HotRod endpoint, for example when performing rolling upgrades.
-
keySizeEstimate
@Deprecated RemoteStoreConfigurationBuilder keySizeEstimate(int keySizeEstimate)
Deprecated.Since 12.0, does nothing and will be removed in 15.0
-
marshaller
RemoteStoreConfigurationBuilder marshaller(String marshaller)
Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects.
-
marshaller
RemoteStoreConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects.
-
protocolVersion
RemoteStoreConfigurationBuilder protocolVersion(ProtocolVersion protocolVersion)
This property defines the protocol version that this client should use. Defaults toProtocolVersion.DEFAULT_PROTOCOL_VERSION
-
rawValues
RemoteStoreConfigurationBuilder rawValues(boolean rawValues)
Normally theRemoteStorestores values wrapped inInternalCacheEntry. Setting this property to true causes the raw values to be stored instead for interoperability with direct access byRemoteCacheManagers
-
remoteCacheName
RemoteStoreConfigurationBuilder remoteCacheName(String remoteCacheName)
The name of the remote cache in the remote infinispan cluster, to which to connect to. If unspecified, the default cache will be used
-
remoteSecurity
SecurityConfigurationBuilder remoteSecurity()
Configures connection security
-
socketTimeout
RemoteStoreConfigurationBuilder socketTimeout(long 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
RemoteStoreConfigurationBuilder tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack. Defaults to enabled
-
transportFactory
@Deprecated RemoteStoreConfigurationBuilder transportFactory(String transportFactory)
Deprecated.since 10.0. This method has no effectControls which transport to use. Currently only the TcpTransport is supported.
-
transportFactory
@Deprecated RemoteStoreConfigurationBuilder transportFactory(Class<? extends org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory> transportFactory)
Deprecated.since 10.0. This method has no effectControls which transport to use. Currently only the TcpTransport is supported.
-
valueSizeEstimate
@Deprecated RemoteStoreConfigurationBuilder valueSizeEstimate(int valueSizeEstimate)
Deprecated.Since 12.0, does nothing and will be removed in 15.0
-
-