public class CustomStore extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CustomStore.CustomStoreResources
Child mutators for CustomStore
|
| Constructor and Description |
|---|
CustomStore() |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeClass()
The custom store implementation class to use for this cache store.
|
CustomStore |
attributeClass(String value)
The custom store implementation class to use for this cache store.
|
BehindWrite |
behindWrite()
Configures a cache store as write-behind instead of write-through.
|
CustomStore |
behindWrite(BehindWrite value)
Configures a cache store as write-behind instead of write-through.
|
Long |
cacheLoaderLoads()
The number of cache loader node loads.
|
CustomStore |
cacheLoaderLoads(Long value)
The number of cache loader node loads.
|
Long |
cacheLoaderMisses()
The number of cache loader node misses.
|
CustomStore |
cacheLoaderMisses(Long value)
The number of cache loader node misses.
|
Boolean |
fetchState()
If true, fetch persistent state when joining a cluster.
|
CustomStore |
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'.
|
CustomStore |
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.
|
CustomStore |
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.
|
CustomStore |
properties(Map value)
A list of cache store properties.
|
CustomStore |
property(Property value)
Add the org.wildfly.swarm.config.infinispan.cache_container.Property object to the list of subresources
|
CustomStore |
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.
|
CustomStore |
purge(Boolean value)
If true, purges this cache store when it starts up.
|
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.
|
CustomStore |
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.
|
CustomStore |
singleton(Boolean value)
If true, the singleton store cache store is enabled.
|
CustomStore.CustomStoreResources |
subresources() |
ThroughWrite |
throughWrite()
Configures a cache store as write-through.
|
CustomStore |
throughWrite(ThroughWrite value)
Configures a cache store as write-through.
|
public String getKey()
public Long cacheLoaderLoads()
public CustomStore cacheLoaderLoads(Long value)
public Long cacheLoaderMisses()
public CustomStore cacheLoaderMisses(Long value)
public String attributeClass()
public CustomStore attributeClass(String value)
public Boolean fetchState()
public CustomStore fetchState(Boolean value)
public Boolean passivation()
public CustomStore passivation(Boolean value)
public Boolean preload()
public CustomStore preload(Boolean value)
public Map properties()
public CustomStore properties(Map value)
public Boolean purge()
public CustomStore purge(Boolean value)
public Boolean shared()
public CustomStore shared(Boolean value)
public Boolean singleton()
public CustomStore singleton(Boolean value)
public CustomStore.CustomStoreResources subresources()
public CustomStore propertys(List<Property> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.Property objects.public CustomStore property(Property value)
value - The org.wildfly.swarm.config.infinispan.cache_container.Property to addpublic ThroughWrite throughWrite()
public CustomStore throughWrite(ThroughWrite value)
public BehindWrite behindWrite()
public CustomStore behindWrite(BehindWrite value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.