public class FileStore extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
FileStore.FileStoreResources
Child mutators for FileStore
|
| Constructor and Description |
|---|
FileStore() |
| Modifier and Type | Method and Description |
|---|---|
BehindWrite |
behindWrite()
Configures a cache store as write-behind instead of write-through.
|
FileStore |
behindWrite(BehindWrite value)
Configures a cache store as write-behind instead of write-through.
|
Long |
cacheLoaderLoads()
The number of cache loader node loads.
|
FileStore |
cacheLoaderLoads(Long value)
The number of cache loader node loads.
|
Long |
cacheLoaderMisses()
The number of cache loader node misses.
|
FileStore |
cacheLoaderMisses(Long value)
The number of cache loader node misses.
|
Boolean |
fetchState()
If true, fetch persistent state when joining a cluster.
|
FileStore |
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'.
|
FileStore |
passivation(Boolean value)
If true, data is only written to the cache store when it is evicted from memory, a phenomenon known as 'passivation'.
|
String |
path()
The system path under which this cache store will persist its entries.
|
FileStore |
path(String value)
The system path under which this cache store will persist its entries.
|
Boolean |
preload()
If true, when the cache starts, data stored in the cache store will be pre-loaded into memory.
|
FileStore |
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.
|
FileStore |
properties(Map value)
A list of cache store properties.
|
FileStore |
property(Property value)
Add the org.wildfly.swarm.config.infinispan.cache_container.Property object to the list of subresources
|
FileStore |
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.
|
FileStore |
purge(Boolean value)
If true, purges this cache store when it starts up.
|
String |
relativeTo()
The system path to which the specified path is relative.
|
FileStore |
relativeTo(String value)
The system path to which the specified path is relative.
|
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.
|
FileStore |
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.
|
FileStore |
singleton(Boolean value)
If true, the singleton store cache store is enabled.
|
FileStore.FileStoreResources |
subresources() |
ThroughWrite |
throughWrite()
Configures a cache store as write-through.
|
FileStore |
throughWrite(ThroughWrite value)
Configures a cache store as write-through.
|
public String getKey()
public Long cacheLoaderLoads()
public FileStore cacheLoaderLoads(Long value)
public Long cacheLoaderMisses()
public FileStore cacheLoaderMisses(Long value)
public Boolean fetchState()
public FileStore fetchState(Boolean value)
public Boolean passivation()
public FileStore passivation(Boolean value)
public String path()
public FileStore path(String value)
public Boolean preload()
public FileStore preload(Boolean value)
public Map properties()
public Boolean purge()
public String relativeTo()
public FileStore relativeTo(String value)
public Boolean shared()
public FileStore shared(Boolean value)
public Boolean singleton()
public FileStore singleton(Boolean value)
public FileStore.FileStoreResources subresources()
public FileStore propertys(List<Property> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.Property objects.public FileStore property(Property value)
value - The org.wildfly.swarm.config.infinispan.cache_container.Property to addpublic ThroughWrite throughWrite()
public FileStore throughWrite(ThroughWrite value)
public BehindWrite behindWrite()
public FileStore behindWrite(BehindWrite value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.