public class RemoteCacheContainer<T extends RemoteCacheContainer<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteCacheContainer.ProtocolVersion |
static class |
RemoteCacheContainer.RemoteCacheContainerResources
Child mutators for RemoteCacheContainer
|
Constructor and Description |
---|
RemoteCacheContainer(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
asyncThreadPool()
Defines a thread pool used for asynchronous operations.
|
T |
asyncThreadPool(AsyncThreadPool value)
Defines a thread pool used for asynchronous operations.
|
T |
asyncThreadPool(AsyncThreadPoolConsumer consumer)
Defines a thread pool used for asynchronous operations.
|
T |
asyncThreadPool(AsyncThreadPoolSupplier supplier)
Defines a thread pool used for asynchronous operations.
|
T |
connectionPoolComponent()
Configuration of the connection pool.
|
T |
connectionPoolComponent(ConnectionPoolComponent value)
Configuration of the connection pool.
|
T |
connectionPoolComponent(ConnectionPoolComponentConsumer consumer)
Configuration of the connection pool.
|
T |
connectionPoolComponent(ConnectionPoolComponentSupplier supplier)
Configuration of the connection pool.
|
Integer |
connectionTimeout()
Defines the maximum socket connect timeout before giving up connecting to
the server.
|
T |
connectionTimeout(Integer value)
Defines the maximum socket connect timeout before giving up connecting to
the server.
|
String |
defaultRemoteCluster()
Required default remote server cluster.
|
T |
defaultRemoteCluster(String value)
Required default remote server cluster.
|
String |
getKey() |
T |
invalidationNearCache()
Configures using near cache in invalidated mode.
|
T |
invalidationNearCache(InvalidationNearCache value)
Configures using near cache in invalidated mode.
|
T |
invalidationNearCache(InvalidationNearCacheConsumer consumer)
Configures using near cache in invalidated mode.
|
T |
invalidationNearCache(InvalidationNearCacheSupplier supplier)
Configures using near cache in invalidated mode.
|
Integer |
keySizeEstimate()
This hint allows sizing of byte buffers when serializing and
deserializing keys, to minimize array resizing.
|
T |
keySizeEstimate(Integer value)
This hint allows sizing of byte buffers when serializing and
deserializing keys, to minimize array resizing.
|
Integer |
maxRetries()
Sets the maximum number of retries for each request.
|
T |
maxRetries(Integer value)
Sets the maximum number of retries for each request.
|
String |
module()
Defines the module whose class loader should be used when configuring
remote cache container marshaller.
|
T |
module(String value)
Defines the module whose class loader should be used when configuring
remote cache container marshaller.
|
T |
noneNearCache()
Disables near cache.
|
T |
noneNearCache(NoneNearCache value)
Disables near cache.
|
T |
noneNearCache(NoneNearCacheConsumer consumer)
Disables near cache.
|
T |
noneNearCache(NoneNearCacheSupplier supplier)
Disables near cache.
|
RemoteCacheContainer.ProtocolVersion |
protocolVersion()
This property defines the protocol version that this client should use.
|
T |
protocolVersion(RemoteCacheContainer.ProtocolVersion value)
This property defines the protocol version that this client should use.
|
T |
remoteCluster(RemoteCluster value)
Add the RemoteCluster object to the list of subresources
|
T |
remoteCluster(RemoteClusterSupplier supplier)
Install a supplied RemoteCluster object to the list of subresources
|
T |
remoteCluster(String childKey)
Create and configure a RemoteCluster object to the list of subresources
|
T |
remoteCluster(String childKey,
RemoteClusterConsumer consumer)
Create and configure a RemoteCluster object to the list of subresources
|
T |
remoteClusters(List<RemoteCluster> value)
Add all RemoteCluster objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
securityComponent()
Security configuration.
|
T |
securityComponent(SecurityComponent value)
Security configuration.
|
T |
securityComponent(SecurityComponentConsumer consumer)
Security configuration.
|
T |
securityComponent(SecurityComponentSupplier supplier)
Security configuration.
|
Integer |
socketTimeout()
Enable or disable SO_TIMEOUT on socket connections to remote Hot Rod
servers with the specified timeout, in milliseconds.
|
T |
socketTimeout(Integer value)
Enable or disable SO_TIMEOUT on socket connections to remote Hot Rod
servers with the specified timeout, in milliseconds.
|
RemoteCacheContainer.RemoteCacheContainerResources |
subresources() |
Boolean |
tcpKeepAlive()
Configures TCP Keepalive on the TCP stack.
|
T |
tcpKeepAlive(Boolean value)
Configures TCP Keepalive on the TCP stack.
|
Boolean |
tcpNoDelay()
Enable or disable TCP_NODELAY on socket connections to remote Hot Rod
servers.
|
T |
tcpNoDelay(Boolean value)
Enable or disable TCP_NODELAY on socket connections to remote Hot Rod
servers.
|
Integer |
valueSizeEstimate()
This hint allows sizing of byte buffers when serializing and
deserializing values, to minimize array resizing.
|
T |
valueSizeEstimate(Integer value)
This hint allows sizing of byte buffers when serializing and
deserializing values, to minimize array resizing.
|
public RemoteCacheContainer(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public RemoteCacheContainer.RemoteCacheContainerResources subresources()
public T remoteClusters(List<RemoteCluster> value)
value
- List of RemoteCluster objects.public T remoteCluster(RemoteCluster value)
value
- The RemoteCluster to addpublic T remoteCluster(String childKey, RemoteClusterConsumer consumer)
key
- The key for the RemoteCluster resourceconfig
- The RemoteClusterConsumer to usepublic T remoteCluster(String childKey)
key
- The key for the RemoteCluster resourcepublic T remoteCluster(RemoteClusterSupplier supplier)
public T securityComponent(SecurityComponent value)
public T securityComponent(SecurityComponentConsumer consumer)
public T securityComponent()
public T securityComponent(SecurityComponentSupplier supplier)
public T asyncThreadPool(AsyncThreadPool value)
public T asyncThreadPool(AsyncThreadPoolConsumer consumer)
public T asyncThreadPool()
public T asyncThreadPool(AsyncThreadPoolSupplier supplier)
public T connectionPoolComponent(ConnectionPoolComponent value)
public T connectionPoolComponent(ConnectionPoolComponentConsumer consumer)
public T connectionPoolComponent()
public T connectionPoolComponent(ConnectionPoolComponentSupplier supplier)
public T noneNearCache(NoneNearCache value)
public T noneNearCache(NoneNearCacheConsumer consumer)
public T noneNearCache()
public T noneNearCache(NoneNearCacheSupplier supplier)
public T invalidationNearCache(InvalidationNearCache value)
public T invalidationNearCache(InvalidationNearCacheConsumer consumer)
public T invalidationNearCache()
public T invalidationNearCache(InvalidationNearCacheSupplier supplier)
public Integer connectionTimeout()
public T connectionTimeout(Integer value)
public String defaultRemoteCluster()
public T defaultRemoteCluster(String value)
public Integer keySizeEstimate()
public T keySizeEstimate(Integer value)
public Integer maxRetries()
public T maxRetries(Integer value)
public String module()
public T module(String value)
public RemoteCacheContainer.ProtocolVersion protocolVersion()
public T protocolVersion(RemoteCacheContainer.ProtocolVersion value)
public Integer socketTimeout()
public T socketTimeout(Integer value)
public Boolean tcpKeepAlive()
public Boolean tcpNoDelay()
public T tcpNoDelay(Boolean value)
public Integer valueSizeEstimate()
Copyright © 2019 JBoss by Red Hat. All rights reserved.