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