public class StoreStringJdbc<T extends StoreStringJdbc> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
StoreStringJdbc.StoreStringJdbcResources
Child mutators for StoreStringJdbc
|
| Constructor and Description |
|---|
StoreStringJdbc() |
| Modifier and Type | Method and Description |
|---|---|
Long |
cacheLoaderLoads()
The number of cache loader node loads.
|
T |
cacheLoaderLoads(Long value)
The number of cache loader node loads.
|
Long |
cacheLoaderMisses()
The number of cache loader node misses.
|
T |
cacheLoaderMisses(Long value)
The number of cache loader node misses.
|
String |
datasource()
A datasource reference for this datastore.
|
T |
datasource(String value)
A datasource reference for this datastore.
|
String |
dialect()
The dialect of this datastore.
|
T |
dialect(String value)
The dialect of this datastore.
|
Boolean |
fetchState()
If true, fetch persistent state when joining a cluster.
|
T |
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'.
|
T |
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.
|
T |
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.
|
T |
properties(Map value)
A list of cache store properties.
|
T |
property(Property value)
Add the Property object to the list of subresources
|
T |
propertys(List<Property> value)
Add all Property objects to this subresource
|
Boolean |
purge()
If true, purges this cache store when it starts up.
|
T |
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.
|
T |
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.
|
T |
singleton(Boolean value)
If true, the singleton store cache store is enabled.
|
StoreStringJdbc.StoreStringJdbcResources |
subresources() |
TableString |
tableString()
Defines a table used to store cache entries whose keys can be expressed as strings.
|
T |
tableString(TableString value)
Defines a table used to store cache entries whose keys can be expressed as strings.
|
WriteBehind |
writeBehind()
Configures a cache store as write-behind instead of write-through.
|
T |
writeBehind(WriteBehind value)
Configures a cache store as write-behind instead of write-through.
|
WriteThrough |
writeThrough()
Configures a cache store as write-through.
|
T |
writeThrough(WriteThrough value)
Configures a cache store as write-through.
|
public String getKey()
public Long cacheLoaderLoads()
public T cacheLoaderLoads(Long value)
public Long cacheLoaderMisses()
public T cacheLoaderMisses(Long value)
public String datasource()
public String dialect()
public Boolean fetchState()
public T fetchState(Boolean value)
public Boolean passivation()
public T passivation(Boolean value)
public Boolean preload()
public T preload(Boolean value)
public Map properties()
public Boolean purge()
public Boolean shared()
public T shared(Boolean value)
public Boolean singleton()
public T singleton(Boolean value)
public StoreStringJdbc.StoreStringJdbcResources subresources()
public T propertys(List<Property> value)
value - List of Property objects.public T property(Property value)
value - The Property to addpublic WriteThrough writeThrough()
public T writeThrough(WriteThrough value)
public WriteBehind writeBehind()
public T writeBehind(WriteBehind value)
public TableString tableString()
public T tableString(TableString value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.