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 RemoteServerConfigurationBuilder
addServer()
Adds a new remote serverExecutorFactoryConfigurationBuilder
asyncExecutorFactory()
Configuration for the executor service used for asynchronous work on the Transport, including asynchronous marshalling and Cache 'async operations' such as Cache.putAsync().RemoteStoreConfigurationBuilder
balancingStrategy(String balancingStrategy)
For replicated (vs distributed) Hot Rod server clusters, the client balances requests to the servers according to this strategy.ConnectionPoolConfigurationBuilder
connectionPool()
Configures the connection poolRemoteStoreConfigurationBuilder
connectionTimeout(long connectionTimeout)
This property defines the maximum socket connect timeout before giving up connecting to the server.RemoteStoreConfigurationBuilder
forceReturnValues(boolean forceReturnValues)
Whether or not to implicitly FORCE_RETURN_VALUE for all calls.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.RemoteStoreConfigurationBuilder
keySizeEstimate(int keySizeEstimate)
The class name of the driver used for connecting to the database.RemoteStoreConfigurationBuilder
marshaller(Class<? extends Marshaller> marshaller)
Allows you to specify a customMarshaller
implementation to serialize and deserialize user objects.RemoteStoreConfigurationBuilder
marshaller(String marshaller)
Allows you to specify a customMarshaller
implementation to serialize and deserialize user objects.RemoteStoreConfigurationBuilder
protocolVersion(ProtocolVersion protocolVersion)
This property defines the protocol version that this client should use.RemoteStoreConfigurationBuilder
rawValues(boolean rawValues)
Normally theRemoteStore
stores values wrapped inInternalCacheEntry
.RemoteStoreConfigurationBuilder
remoteCacheName(String remoteCacheName)
The name of the remote cache in the remote infinispan cluster, to which to connect to.SecurityConfigurationBuilder
remoteSecurity()
Configures connection securityRemoteStoreConfigurationBuilder
socketTimeout(long socketTimeout)
This property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server.RemoteStoreConfigurationBuilder
tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack.RemoteStoreConfigurationBuilder
transportFactory(Class<? extends org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory> transportFactory)
Deprecated.since 10.0.RemoteStoreConfigurationBuilder
transportFactory(String transportFactory)
Deprecated.since 10.0.RemoteStoreConfigurationBuilder
valueSizeEstimate(int valueSizeEstimate)
This hint allows sizing of byte buffers when serializing and deserializing values, to minimize array resizing.-
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
RemoteStoreConfigurationBuilder keySizeEstimate(int keySizeEstimate)
The class name of the driver used for connecting to the database.
-
marshaller
RemoteStoreConfigurationBuilder marshaller(String marshaller)
Allows you to specify a customMarshaller
implementation to serialize and deserialize user objects.
-
marshaller
RemoteStoreConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
Allows you to specify a customMarshaller
implementation 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 theRemoteStore
stores values wrapped inInternalCacheEntry
. Setting this property to true causes the raw values to be stored instead for interoperability with direct access byRemoteCacheManager
s
-
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
RemoteStoreConfigurationBuilder valueSizeEstimate(int valueSizeEstimate)
This hint allows sizing of byte buffers when serializing and deserializing values, to minimize array resizing.
-
-