Interface RemoteStoreConfigurationChildBuilder<S>
- All Superinterfaces:
org.infinispan.configuration.cache.ConfigurationChildBuilder,org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
- All Known Implementing Classes:
AbstractRemoteStoreConfigurationChildBuilder,AbstractSecurityConfigurationChildBuilder,AuthenticationConfigurationBuilder,ConnectionPoolConfigurationBuilder,ExecutorFactoryConfigurationBuilder,KeyStoreConfigurationBuilder,MechanismConfigurationBuilder,RemoteServerConfigurationBuilder,RemoteStoreConfigurationBuilder,SecurityConfigurationBuilder,SslConfigurationBuilder,TrustStoreConfigurationBuilder
public interface RemoteStoreConfigurationChildBuilder<S>
extends org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new remote serverConfiguration for the executor service used for asynchronous work on the Transport, including asynchronous marshalling and Cache 'async operations' such as Cache.putAsync().balancingStrategy(String balancingStrategy) For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.Configures the connection poolconnectionTimeout(long connectionTimeout) This property defines the maximum socket connect timeout before giving up connecting to the server.forceReturnValues(boolean forceReturnValues) Whether or not to implicitly FORCE_RETURN_VALUE for all calls.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(int keySizeEstimate) Deprecated.Since 12.0, does nothing and will be removed in 15.0marshaller(Class<? extends org.infinispan.commons.marshall.Marshaller> marshaller) Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects.marshaller(String marshaller) Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects.protocolVersion(org.infinispan.client.hotrod.ProtocolVersion protocolVersion) This property defines the protocol version that this client should use.rawValues(boolean rawValues) Normally theRemoteStorestores values wrapped inInternalCacheEntry.remoteCacheName(String remoteCacheName) The name of the remote cache in the remote infinispan cluster, to which to connect to.Configures connection securitysocketTimeout(long socketTimeout) This property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server.tcpNoDelay(boolean tcpNoDelay) Affects TCP NODELAY on the TCP stack.transportFactory(Class<? extends org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory> transportFactory) Deprecated.since 10.0.transportFactory(String transportFactory) Deprecated.since 10.0.valueSizeEstimate(int valueSizeEstimate) Deprecated.Since 12.0, does nothing and will be removed in 15.0Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, query, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe, validateMethods inherited from interface org.infinispan.configuration.cache.StoreConfigurationChildBuilder
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties, writeOnly
-
Method Details
-
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
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
This property defines the maximum socket connect timeout before giving up connecting to the server. -
forceReturnValues
Whether or not to implicitly FORCE_RETURN_VALUE for all calls. -
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.Since 12.0, does nothing and will be removed in 15.0 -
marshaller
Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects. -
marshaller
RemoteStoreConfigurationBuilder marshaller(Class<? extends org.infinispan.commons.marshall.Marshaller> marshaller) Allows you to specify a customMarshallerimplementation to serialize and deserialize user objects. -
protocolVersion
RemoteStoreConfigurationBuilder protocolVersion(org.infinispan.client.hotrod.ProtocolVersion protocolVersion) This property defines the protocol version that this client should use. Defaults toProtocolVersion.DEFAULT_PROTOCOL_VERSION -
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
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
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
Affects TCP NODELAY on the TCP stack. Defaults to enabled -
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.Since 12.0, does nothing and will be removed in 15.0
-