public class RemoteStore extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteStore.RemoteStoreResources
Child mutators for RemoteStore
|
| Constructor and Description |
|---|
RemoteStore() |
| Modifier and Type | Method and Description |
|---|---|
BehindWrite |
behindWrite()
Configures a cache store as write-behind instead of write-through.
|
RemoteStore |
behindWrite(BehindWrite value)
Configures a cache store as write-behind instead of write-through.
|
String |
cache()
The name of the remote cache to use for this remote store.
|
RemoteStore |
cache(String value)
The name of the remote cache to use for this remote store.
|
Long |
cacheLoaderLoads()
The number of cache loader node loads.
|
RemoteStore |
cacheLoaderLoads(Long value)
The number of cache loader node loads.
|
Long |
cacheLoaderMisses()
The number of cache loader node misses.
|
RemoteStore |
cacheLoaderMisses(Long value)
The number of cache loader node misses.
|
Boolean |
fetchState()
If true, fetch persistent state when joining a cluster.
|
RemoteStore |
fetchState(Boolean value)
If true, fetch persistent state when joining a cluster.
|
String |
getKey() |
Boolean |
passivation()
If true, data is only written to the cache store when it is evicted from memory, a phenomenon known as 'passivation'.
|
RemoteStore |
passivation(Boolean value)
If true, data is only written to the cache store when it is evicted from memory, a phenomenon known as 'passivation'.
|
Boolean |
preload()
If true, when the cache starts, data stored in the cache store will be pre-loaded into memory.
|
RemoteStore |
preload(Boolean value)
If true, when the cache starts, data stored in the cache store will be pre-loaded into memory.
|
Map |
properties()
A list of cache store properties.
|
RemoteStore |
properties(Map value)
A list of cache store properties.
|
RemoteStore |
property(Property value)
Add the org.wildfly.swarm.config.infinispan.cache_container.Property object to the list of subresources
|
RemoteStore |
propertys(List<Property> value)
Add all org.wildfly.swarm.config.infinispan.cache_container.Property objects to this subresource
|
Boolean |
purge()
If true, purges this cache store when it starts up.
|
RemoteStore |
purge(Boolean value)
If true, purges this cache store when it starts up.
|
List<String> |
remoteServers()
A list of remote servers for this cache store.
|
RemoteStore |
remoteServers(List<String> value)
A list of remote servers for this cache store.
|
Boolean |
shared()
This setting should be set to true when multiple cache instances share the same cache store (e.g., multiple nodes in a cluster using a JDBC-based CacheStore pointing to the same, shared database.) Setting this to true avoids multiple cache instances writing the same modification multiple times.
|
RemoteStore |
shared(Boolean value)
This setting should be set to true when multiple cache instances share the same cache store (e.g., multiple nodes in a cluster using a JDBC-based CacheStore pointing to the same, shared database.) Setting this to true avoids multiple cache instances writing the same modification multiple times.
|
Boolean |
singleton()
If true, the singleton store cache store is enabled.
|
RemoteStore |
singleton(Boolean value)
If true, the singleton store cache store is enabled.
|
Long |
socketTimeout()
A socket timeout for remote cache communication.
|
RemoteStore |
socketTimeout(Long value)
A socket timeout for remote cache communication.
|
RemoteStore.RemoteStoreResources |
subresources() |
Boolean |
tcpNoDelay()
A TCP_NODELAY value for remote cache communication.
|
RemoteStore |
tcpNoDelay(Boolean value)
A TCP_NODELAY value for remote cache communication.
|
ThroughWrite |
throughWrite()
Configures a cache store as write-through.
|
RemoteStore |
throughWrite(ThroughWrite value)
Configures a cache store as write-through.
|
public String getKey()
public String cache()
public RemoteStore cache(String value)
public Long cacheLoaderLoads()
public RemoteStore cacheLoaderLoads(Long value)
public Long cacheLoaderMisses()
public RemoteStore cacheLoaderMisses(Long value)
public Boolean fetchState()
public RemoteStore fetchState(Boolean value)
public Boolean passivation()
public RemoteStore passivation(Boolean value)
public Boolean preload()
public RemoteStore preload(Boolean value)
public Map properties()
public RemoteStore properties(Map value)
public Boolean purge()
public RemoteStore purge(Boolean value)
public RemoteStore remoteServers(List<String> value)
public Boolean shared()
public RemoteStore shared(Boolean value)
public Boolean singleton()
public RemoteStore singleton(Boolean value)
public Long socketTimeout()
public RemoteStore socketTimeout(Long value)
public Boolean tcpNoDelay()
public RemoteStore tcpNoDelay(Boolean value)
public RemoteStore.RemoteStoreResources subresources()
public RemoteStore propertys(List<Property> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.Property objects.public RemoteStore property(Property value)
value - The org.wildfly.swarm.config.infinispan.cache_container.Property to addpublic ThroughWrite throughWrite()
public RemoteStore throughWrite(ThroughWrite value)
public BehindWrite behindWrite()
public RemoteStore behindWrite(BehindWrite value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.