public interface RemoteStoreConfigurationChildBuilder<S> extends StoreConfigurationChildBuilder<S>
Modifier and Type | Method and Description |
---|---|
RemoteServerConfigurationBuilder |
addServer()
Adds a new remote server
|
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().
|
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 pool
|
RemoteStoreConfigurationBuilder |
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 custom
org.infinispan.marshall.Marshaller implementation to
serialize and deserialize user objects. |
RemoteStoreConfigurationBuilder |
marshaller(String marshaller)
Allows you to specify a custom
org.infinispan.marshall.Marshaller implementation to
serialize and deserialize user objects. |
RemoteStoreConfigurationBuilder |
protocolVersion(ProtocolVersion protocolVersion)
This property defines the protocol version that this client should use.
|
RemoteStoreConfigurationBuilder |
protocolVersion(String protocolVersion)
Deprecated.
Use
protocolVersion(ProtocolVersion) instead |
RemoteStoreConfigurationBuilder |
rawValues(boolean rawValues)
Normally the
RemoteStore stores values wrapped in InternalCacheEntry . |
RemoteStoreConfigurationBuilder |
remoteCacheName(String remoteCacheName)
The name of the remote cache in the remote infinispan cluster, to which to connect to.
|
RemoteStoreConfigurationBuilder |
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 TransportFactory> transportFactory)
Controls which transport to use.
|
RemoteStoreConfigurationBuilder |
transportFactory(String transportFactory)
Controls which transport to use.
|
RemoteStoreConfigurationBuilder |
valueSizeEstimate(int valueSizeEstimate)
This hint allows sizing of byte buffers when serializing and deserializing values, to minimize
array resizing.
|
addProperty, async, fetchPersistentState, ignoreModifications, preload, purgeOnStartup, shared, singleton, transactional, withProperties
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, validate, versioning
RemoteServerConfigurationBuilder addServer()
ExecutorFactoryConfigurationBuilder asyncExecutorFactory()
RemoteStoreConfigurationBuilder balancingStrategy(String balancingStrategy)
ConnectionPoolConfigurationBuilder connectionPool()
RemoteStoreConfigurationBuilder connectionTimeout(long connectionTimeout)
RemoteStoreConfigurationBuilder forceReturnValues(boolean forceReturnValues)
RemoteStoreConfigurationBuilder hotRodWrapping(boolean hotRodWrapping)
RemoteStoreConfigurationBuilder keySizeEstimate(int keySizeEstimate)
RemoteStoreConfigurationBuilder marshaller(String marshaller)
org.infinispan.marshall.Marshaller
implementation to
serialize and deserialize user objects.RemoteStoreConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
org.infinispan.marshall.Marshaller
implementation to
serialize and deserialize user objects.@Deprecated RemoteStoreConfigurationBuilder protocolVersion(String protocolVersion)
protocolVersion(ProtocolVersion)
insteadProtocolVersion.DEFAULT_PROTOCOL_VERSION
RemoteStoreConfigurationBuilder protocolVersion(ProtocolVersion protocolVersion)
ProtocolVersion.DEFAULT_PROTOCOL_VERSION
RemoteStoreConfigurationBuilder rawValues(boolean rawValues)
RemoteStore
stores values wrapped in InternalCacheEntry
. Setting
this property to true causes the raw values to be stored instead for interoperability with direct
access by RemoteCacheManager
sRemoteStoreConfigurationBuilder remoteCacheName(String remoteCacheName)
RemoteStoreConfigurationBuilder socketTimeout(long socketTimeout)
RemoteStoreConfigurationBuilder tcpNoDelay(boolean tcpNoDelay)
RemoteStoreConfigurationBuilder transportFactory(String transportFactory)
RemoteStoreConfigurationBuilder transportFactory(Class<? extends TransportFactory> transportFactory)
RemoteStoreConfigurationBuilder valueSizeEstimate(int valueSizeEstimate)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.