Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.loaders.remote.configuration
Interface RemoteCacheStoreConfigurationChildBuilder<S>

All Superinterfaces:
ConfigurationChildBuilder, LoaderConfigurationChildBuilder<S>, StoreConfigurationChildBuilder<S>
All Known Implementing Classes:
AbstractRemoteCacheStoreConfigurationChildBuilder, ConnectionPoolConfigurationBuilder, ExecutorFactoryConfigurationBuilder, RemoteCacheStoreConfigurationBuilder, RemoteServerConfigurationBuilder

public interface RemoteCacheStoreConfigurationChildBuilder<S>
extends StoreConfigurationChildBuilder<S>


Method Summary
 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().
 RemoteCacheStoreConfigurationBuilder 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
 RemoteCacheStoreConfigurationBuilder connectionTimeout(long connectionTimeout)
          This property defines the maximum socket connect timeout before giving up connecting to the server.
 RemoteCacheStoreConfigurationBuilder entryWrapper(EntryWrapper<?,?> entryWrapper)
          Allows you to specify a custom EntryWrapper implementation to wrap cache entries
 RemoteCacheStoreConfigurationBuilder forceReturnValues(boolean forceReturnValues)
          Whether or not to implicitly FORCE_RETURN_VALUE for all calls.
 RemoteCacheStoreConfigurationBuilder hotRodWrapping(boolean hotRodWrapping)
          Configures this RemoteCacheStore so that it enables all settings needed to create entries to be served by a HotRod endpoint, for example when performing rolling upgrades.
 RemoteCacheStoreConfigurationBuilder keySizeEstimate(int keySizeEstimate)
          The class name of the driver used for connecting to the database.
 RemoteCacheStoreConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
          Allows you to specify a custom Marshaller implementation to serialize and deserialize user objects.
 RemoteCacheStoreConfigurationBuilder marshaller(String marshaller)
          Allows you to specify a custom Marshaller implementation to serialize and deserialize user objects.
 RemoteCacheStoreConfigurationBuilder pingOnStartup(boolean pingOnStartup)
          If true, a ping request is sent to a back end server in order to fetch cluster's topology.
 RemoteCacheStoreConfigurationBuilder protocolVersion(String protocolVersion)
          This property defines the protocol version that this client should use.
 RemoteCacheStoreConfigurationBuilder rawValues(boolean rawValues)
          Normally the RemoteCacheStore stores values wrapped in InternalCacheEntry.
 RemoteCacheStoreConfigurationBuilder remoteCacheName(String remoteCacheName)
          The name of the remote cache in the remote infinispan cluster, to which to connect to.
 RemoteCacheStoreConfigurationBuilder socketTimeout(long socketTimeout)
          This property defines the maximum socket read timeout in milliseconds before giving up waiting for bytes from the server.
 RemoteCacheStoreConfigurationBuilder tcpNoDelay(boolean tcpNoDelay)
          Affects TCP NODELAY on the TCP stack.
 RemoteCacheStoreConfigurationBuilder transportFactory(Class<? extends TransportFactory> transportFactory)
          Controls which transport to use.
 RemoteCacheStoreConfigurationBuilder transportFactory(String transportFactory)
          Controls which transport to use.
 RemoteCacheStoreConfigurationBuilder 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.StoreConfigurationChildBuilder
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore
 
Methods inherited from interface org.infinispan.configuration.cache.LoaderConfigurationChildBuilder
addProperty, withProperties
 
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, loaders, locking, sites, storeAsBinary, transaction, unsafe, versioning
 

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

RemoteCacheStoreConfigurationBuilder 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

RemoteCacheStoreConfigurationBuilder connectionTimeout(long connectionTimeout)
This property defines the maximum socket connect timeout before giving up connecting to the server.


entryWrapper

RemoteCacheStoreConfigurationBuilder entryWrapper(EntryWrapper<?,?> entryWrapper)
Allows you to specify a custom EntryWrapper implementation to wrap cache entries


forceReturnValues

RemoteCacheStoreConfigurationBuilder forceReturnValues(boolean forceReturnValues)
Whether or not to implicitly FORCE_RETURN_VALUE for all calls.


hotRodWrapping

RemoteCacheStoreConfigurationBuilder hotRodWrapping(boolean hotRodWrapping)
Configures this RemoteCacheStore so that it enables all settings needed to create entries to be served by a HotRod endpoint, for example when performing rolling upgrades.


keySizeEstimate

RemoteCacheStoreConfigurationBuilder keySizeEstimate(int keySizeEstimate)
The class name of the driver used for connecting to the database.


marshaller

RemoteCacheStoreConfigurationBuilder marshaller(String marshaller)
Allows you to specify a custom Marshaller implementation to serialize and deserialize user objects.


marshaller

RemoteCacheStoreConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
Allows you to specify a custom Marshaller implementation to serialize and deserialize user objects.


pingOnStartup

RemoteCacheStoreConfigurationBuilder pingOnStartup(boolean pingOnStartup)
If true, a ping request is sent to a back end server in order to fetch cluster's topology.


protocolVersion

RemoteCacheStoreConfigurationBuilder protocolVersion(String protocolVersion)
This property defines the protocol version that this client should use. Defaults to 1.1. Other valid values include 1.0.


rawValues

RemoteCacheStoreConfigurationBuilder rawValues(boolean rawValues)
Normally the RemoteCacheStore stores values wrapped in InternalCacheEntry. Setting this property to true causes the raw values to be stored instead for interoperability with direct access by RemoteCacheManagers


remoteCacheName

RemoteCacheStoreConfigurationBuilder 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


socketTimeout

RemoteCacheStoreConfigurationBuilder 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

RemoteCacheStoreConfigurationBuilder tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack. Defaults to enabled


transportFactory

RemoteCacheStoreConfigurationBuilder transportFactory(String transportFactory)
Controls which transport to use. Currently only the TcpTransport is supported.


transportFactory

RemoteCacheStoreConfigurationBuilder transportFactory(Class<? extends TransportFactory> transportFactory)
Controls which transport to use. Currently only the TcpTransport is supported.


valueSizeEstimate

RemoteCacheStoreConfigurationBuilder valueSizeEstimate(int valueSizeEstimate)
This hint allows sizing of byte buffers when serializing and deserializing values, to minimize array resizing.


Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.