public abstract class AbstractRemoteStoreConfigurationChildBuilder<S> extends AbstractStoreConfigurationChildBuilder<S> implements RemoteStoreConfigurationChildBuilder<S>
Modifier and Type | Field and Description |
---|---|
protected AttributeSet |
attributes |
protected RemoteStoreConfigurationBuilder |
builder |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRemoteStoreConfigurationChildBuilder(RemoteStoreConfigurationBuilder builder,
AttributeSet attributes) |
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.
|
Configuration |
build() |
ClusteringConfigurationBuilder |
clustering() |
CompatibilityModeConfigurationBuilder |
compatibility() |
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.
|
CustomInterceptorsConfigurationBuilder |
customInterceptors() |
DataContainerConfigurationBuilder |
dataContainer() |
DeadlockDetectionConfigurationBuilder |
deadlockDetection() |
EncodingConfigurationBuilder |
encoding() |
EvictionConfigurationBuilder |
eviction() |
ExpirationConfigurationBuilder |
expiration() |
RemoteStoreConfigurationBuilder |
forceReturnValues(boolean forceReturnValues)
Whether or not to implicitly FORCE_RETURN_VALUE for all calls.
|
protected ConfigurationBuilder |
getBuilder() |
RemoteStoreConfigurationBuilder |
getRemoteStoreBuilder() |
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.
|
IndexingConfigurationBuilder |
indexing() |
InvocationBatchingConfigurationBuilder |
invocationBatching() |
JMXStatisticsConfigurationBuilder |
jmxStatistics() |
RemoteStoreConfigurationBuilder |
keySizeEstimate(int keySizeEstimate)
The class name of the driver used for connecting to the database.
|
LockingConfigurationBuilder |
locking() |
RemoteStoreConfigurationBuilder |
marshaller(Class<? extends Marshaller> marshaller)
Allows you to specify a custom
Marshaller implementation to
serialize and deserialize user objects. |
RemoteStoreConfigurationBuilder |
marshaller(String marshaller)
Allows you to specify a custom
Marshaller implementation to
serialize and deserialize user objects. |
MemoryConfigurationBuilder |
memory() |
PersistenceConfigurationBuilder |
persistence() |
RemoteStoreConfigurationBuilder |
protocolVersion(ProtocolVersion protocolVersion)
This property defines the protocol version that this client should use.
|
RemoteStoreConfigurationBuilder |
protocolVersion(String protocolVersion)
This property defines the protocol version that this client should use.
|
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.
|
SecurityConfigurationBuilder |
remoteSecurity()
Configures connection security
|
SecurityConfigurationBuilder |
security() |
boolean |
simpleCache() |
ConfigurationChildBuilder |
simpleCache(boolean simpleCache) |
SitesConfigurationBuilder |
sites() |
RemoteStoreConfigurationBuilder |
socketTimeout(long socketTimeout)
This property defines the maximum socket read timeout in milliseconds before giving up waiting
for bytes from the server.
|
StoreAsBinaryConfigurationBuilder |
storeAsBinary()
Deprecated.
|
RemoteStoreConfigurationBuilder |
tcpNoDelay(boolean tcpNoDelay)
Affects TCP NODELAY on the TCP stack.
|
ConfigurationChildBuilder |
template(boolean template) |
TransactionConfigurationBuilder |
transaction() |
RemoteStoreConfigurationBuilder |
transportFactory(Class<? extends ChannelFactory> transportFactory)
Controls which transport to use.
|
RemoteStoreConfigurationBuilder |
transportFactory(String transportFactory)
Controls which transport to use.
|
UnsafeConfigurationBuilder |
unsafe() |
void |
validate(GlobalConfiguration globalConfig) |
RemoteStoreConfigurationBuilder |
valueSizeEstimate(int valueSizeEstimate)
This hint allows sizing of byte buffers when serializing and deserializing values, to minimize
array resizing.
|
VersioningConfigurationBuilder |
versioning() |
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, shared, singleton, transactional, withProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, shared, singleton, transactional, withProperties
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, encoding, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, versioning
persistence
protected final RemoteStoreConfigurationBuilder builder
protected final AttributeSet attributes
protected AbstractRemoteStoreConfigurationChildBuilder(RemoteStoreConfigurationBuilder builder, AttributeSet attributes)
public RemoteServerConfigurationBuilder addServer()
RemoteStoreConfigurationChildBuilder
addServer
in interface RemoteStoreConfigurationChildBuilder<S>
public ExecutorFactoryConfigurationBuilder asyncExecutorFactory()
RemoteStoreConfigurationChildBuilder
asyncExecutorFactory
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder balancingStrategy(String balancingStrategy)
RemoteStoreConfigurationChildBuilder
balancingStrategy
in interface RemoteStoreConfigurationChildBuilder<S>
public ConnectionPoolConfigurationBuilder connectionPool()
RemoteStoreConfigurationChildBuilder
connectionPool
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder connectionTimeout(long connectionTimeout)
RemoteStoreConfigurationChildBuilder
connectionTimeout
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder forceReturnValues(boolean forceReturnValues)
RemoteStoreConfigurationChildBuilder
forceReturnValues
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder hotRodWrapping(boolean hotRodWrapping)
RemoteStoreConfigurationChildBuilder
hotRodWrapping
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder keySizeEstimate(int keySizeEstimate)
RemoteStoreConfigurationChildBuilder
keySizeEstimate
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder marshaller(String marshaller)
RemoteStoreConfigurationChildBuilder
Marshaller
implementation to
serialize and deserialize user objects.marshaller
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder marshaller(Class<? extends Marshaller> marshaller)
RemoteStoreConfigurationChildBuilder
Marshaller
implementation to
serialize and deserialize user objects.marshaller
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder protocolVersion(String protocolVersion)
RemoteStoreConfigurationChildBuilder
ProtocolVersion.DEFAULT_PROTOCOL_VERSION
protocolVersion
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder protocolVersion(ProtocolVersion protocolVersion)
RemoteStoreConfigurationChildBuilder
ProtocolVersion.DEFAULT_PROTOCOL_VERSION
protocolVersion
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder rawValues(boolean rawValues)
RemoteStoreConfigurationChildBuilder
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
srawValues
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder remoteCacheName(String remoteCacheName)
RemoteStoreConfigurationChildBuilder
remoteCacheName
in interface RemoteStoreConfigurationChildBuilder<S>
public SecurityConfigurationBuilder remoteSecurity()
RemoteStoreConfigurationChildBuilder
remoteSecurity
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder socketTimeout(long socketTimeout)
RemoteStoreConfigurationChildBuilder
socketTimeout
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder tcpNoDelay(boolean tcpNoDelay)
RemoteStoreConfigurationChildBuilder
tcpNoDelay
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder transportFactory(String transportFactory)
RemoteStoreConfigurationChildBuilder
transportFactory
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder transportFactory(Class<? extends ChannelFactory> transportFactory)
RemoteStoreConfigurationChildBuilder
transportFactory
in interface RemoteStoreConfigurationChildBuilder<S>
public RemoteStoreConfigurationBuilder valueSizeEstimate(int valueSizeEstimate)
RemoteStoreConfigurationChildBuilder
valueSizeEstimate
in interface RemoteStoreConfigurationChildBuilder<S>
public void validate(GlobalConfiguration globalConfig)
validate
in interface ConfigurationChildBuilder
public RemoteStoreConfigurationBuilder getRemoteStoreBuilder()
public ConfigurationChildBuilder template(boolean template)
template
in interface ConfigurationChildBuilder
public ConfigurationChildBuilder simpleCache(boolean simpleCache)
simpleCache
in interface ConfigurationChildBuilder
public boolean simpleCache()
simpleCache
in interface ConfigurationChildBuilder
public ClusteringConfigurationBuilder clustering()
clustering
in interface ConfigurationChildBuilder
public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors
in interface ConfigurationChildBuilder
public DataContainerConfigurationBuilder dataContainer()
dataContainer
in interface ConfigurationChildBuilder
public DeadlockDetectionConfigurationBuilder deadlockDetection()
deadlockDetection
in interface ConfigurationChildBuilder
public EncodingConfigurationBuilder encoding()
encoding
in interface ConfigurationChildBuilder
public EvictionConfigurationBuilder eviction()
eviction
in interface ConfigurationChildBuilder
public ExpirationConfigurationBuilder expiration()
expiration
in interface ConfigurationChildBuilder
public IndexingConfigurationBuilder indexing()
indexing
in interface ConfigurationChildBuilder
public InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching
in interface ConfigurationChildBuilder
public JMXStatisticsConfigurationBuilder jmxStatistics()
jmxStatistics
in interface ConfigurationChildBuilder
public PersistenceConfigurationBuilder persistence()
persistence
in interface ConfigurationChildBuilder
public LockingConfigurationBuilder locking()
locking
in interface ConfigurationChildBuilder
public SecurityConfigurationBuilder security()
security
in interface ConfigurationChildBuilder
@Deprecated public StoreAsBinaryConfigurationBuilder storeAsBinary()
storeAsBinary
in interface ConfigurationChildBuilder
public TransactionConfigurationBuilder transaction()
transaction
in interface ConfigurationChildBuilder
public VersioningConfigurationBuilder versioning()
versioning
in interface ConfigurationChildBuilder
public UnsafeConfigurationBuilder unsafe()
unsafe
in interface ConfigurationChildBuilder
public SitesConfigurationBuilder sites()
sites
in interface ConfigurationChildBuilder
public CompatibilityModeConfigurationBuilder compatibility()
compatibility
in interface ConfigurationChildBuilder
public MemoryConfigurationBuilder memory()
memory
in interface ConfigurationChildBuilder
protected ConfigurationBuilder getBuilder()
public Configuration build()
build
in interface ConfigurationChildBuilder
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.