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