public class MixedJdbcStore extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MixedJdbcStore.MixedJdbcStoreResources
Child mutators for MixedJdbcStore
|
| Constructor and Description |
|---|
MixedJdbcStore() |
| Modifier and Type | Method and Description |
|---|---|
BehindWrite |
behindWrite()
Configures a cache store as write-behind instead of write-through.
|
MixedJdbcStore |
behindWrite(BehindWrite value)
Configures a cache store as write-behind instead of write-through.
|
BinaryTable |
binaryTable()
Defines a table used to store cache entries whose keys cannot be expressed as strings.
|
MixedJdbcStore |
binaryTable(BinaryTable value)
Defines a table used to store cache entries whose keys cannot be expressed as strings.
|
Long |
cacheLoaderLoads()
The number of cache loader node loads.
|
MixedJdbcStore |
cacheLoaderLoads(Long value)
The number of cache loader node loads.
|
Long |
cacheLoaderMisses()
The number of cache loader node misses.
|
MixedJdbcStore |
cacheLoaderMisses(Long value)
The number of cache loader node misses.
|
String |
dataSource()
References the data source used to connect to this store.
|
MixedJdbcStore |
dataSource(String value)
References the data source used to connect to this store.
|
String |
dialect()
The dialect of this datastore.
|
MixedJdbcStore |
dialect(String value)
The dialect of this datastore.
|
Boolean |
fetchState()
If true, fetch persistent state when joining a cluster.
|
MixedJdbcStore |
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'.
|
MixedJdbcStore |
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.
|
MixedJdbcStore |
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.
|
MixedJdbcStore |
properties(Map value)
A list of cache store properties.
|
MixedJdbcStore |
property(Property value)
Add the org.wildfly.swarm.config.infinispan.cache_container.Property object to the list of subresources
|
MixedJdbcStore |
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.
|
MixedJdbcStore |
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.
|
MixedJdbcStore |
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.
|
MixedJdbcStore |
singleton(Boolean value)
If true, the singleton store cache store is enabled.
|
StringTable |
stringTable()
Defines a table used to store cache entries whose keys can be expressed as strings.
|
MixedJdbcStore |
stringTable(StringTable value)
Defines a table used to store cache entries whose keys can be expressed as strings.
|
MixedJdbcStore.MixedJdbcStoreResources |
subresources() |
ThroughWrite |
throughWrite()
Configures a cache store as write-through.
|
MixedJdbcStore |
throughWrite(ThroughWrite value)
Configures a cache store as write-through.
|
public String getKey()
public Long cacheLoaderLoads()
public MixedJdbcStore cacheLoaderLoads(Long value)
public Long cacheLoaderMisses()
public MixedJdbcStore cacheLoaderMisses(Long value)
public String dataSource()
public MixedJdbcStore dataSource(String value)
public String dialect()
public MixedJdbcStore dialect(String value)
public Boolean fetchState()
public MixedJdbcStore fetchState(Boolean value)
public Boolean passivation()
public MixedJdbcStore passivation(Boolean value)
public Boolean preload()
public MixedJdbcStore preload(Boolean value)
public Map properties()
public MixedJdbcStore properties(Map value)
public Boolean purge()
public MixedJdbcStore purge(Boolean value)
public Boolean shared()
public MixedJdbcStore shared(Boolean value)
public Boolean singleton()
public MixedJdbcStore singleton(Boolean value)
public MixedJdbcStore.MixedJdbcStoreResources subresources()
public MixedJdbcStore propertys(List<Property> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.Property objects.public MixedJdbcStore property(Property value)
value - The org.wildfly.swarm.config.infinispan.cache_container.Property to addpublic ThroughWrite throughWrite()
public MixedJdbcStore throughWrite(ThroughWrite value)
public BehindWrite behindWrite()
public MixedJdbcStore behindWrite(BehindWrite value)
public StringTable stringTable()
public MixedJdbcStore stringTable(StringTable value)
public BinaryTable binaryTable()
public MixedJdbcStore binaryTable(BinaryTable value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.