public class ScatteredCache<T extends ScatteredCache<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScatteredCache.ScatteredCacheResources
Child mutators for ScatteredCache
|
Constructor and Description |
---|
ScatteredCache(String key) |
Modifier and Type | Method and Description |
---|---|
Long |
activations()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
activations(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
asyncMarshalling()
Deprecated.
Deprecated. Asynchronous marshalling is no longer supported.
|
T |
asyncMarshalling(Boolean value)
Deprecated.
Deprecated. Asynchronous marshalling is no longer supported.
|
Long |
averageReadTime()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
averageReadTime(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
averageReplicationTime()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
averageReplicationTime(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
averageWriteTime()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
averageWriteTime(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
backupForComponent()
A cache for which this cache acts as a backup (for use with cross site
replication).
|
T |
backupForComponent(BackupForComponent value)
A cache for which this cache acts as a backup (for use with cross site
replication).
|
T |
backupForComponent(BackupForComponentConsumer consumer)
A cache for which this cache acts as a backup (for use with cross site
replication).
|
T |
backupForComponent(BackupForComponentSupplier supplier)
A cache for which this cache acts as a backup (for use with cross site
replication).
|
T |
backupsComponent()
The remote backups for this cache.
|
T |
backupsComponent(BackupsComponent value)
The remote backups for this cache.
|
T |
backupsComponent(BackupsComponentConsumer consumer)
The remote backups for this cache.
|
T |
backupsComponent(BackupsComponentSupplier supplier)
The remote backups for this cache.
|
Boolean |
batching()
Deprecated.
Deprecated. Replaced by BATCH transaction mode.
|
T |
batching(Boolean value)
Deprecated.
Deprecated. Replaced by BATCH transaction mode.
|
Long |
biasLifespan()
When greater than zero, specifies the duration (in ms) that a cache entry
will be cached on a non-owner following a write operation.
|
T |
biasLifespan(Long value)
When greater than zero, specifies the duration (in ms) that a cache entry
will be cached on a non-owner following a write operation.
|
T |
binaryJdbcStore()
The cache JDBC store configuration.
|
T |
binaryJdbcStore(BinaryJDBCStore value)
The cache JDBC store configuration.
|
T |
binaryJdbcStore(BinaryJDBCStoreConsumer consumer)
The cache JDBC store configuration.
|
T |
binaryJdbcStore(BinaryJDBCStoreSupplier supplier)
The cache JDBC store configuration.
|
T |
binaryMemory()
On-heap binary-based memory configuration.
|
T |
binaryMemory(BinaryMemory value)
On-heap binary-based memory configuration.
|
T |
binaryMemory(BinaryMemoryConsumer consumer)
On-heap binary-based memory configuration.
|
T |
binaryMemory(BinaryMemorySupplier supplier)
On-heap binary-based memory configuration.
|
String |
cacheStatus()
Deprecated.
Deprecated. Always returns RUNNING.
|
T |
cacheStatus(String value)
Deprecated.
Deprecated. Always returns RUNNING.
|
ConsistentHashStrategy |
consistentHashStrategy()
Defines the consistent hash strategy for the cache.
|
T |
consistentHashStrategy(ConsistentHashStrategy value)
Defines the consistent hash strategy for the cache.
|
T |
customStore()
The cache store configuration.
|
T |
customStore(CustomStore value)
The cache store configuration.
|
T |
customStore(CustomStoreConsumer consumer)
The cache store configuration.
|
T |
customStore(CustomStoreSupplier supplier)
The cache store configuration.
|
Long |
elapsedTime()
Deprecated.
Deprecated. Use time-since-start instead.
|
T |
elapsedTime(Long value)
Deprecated.
Deprecated. Use time-since-start instead.
|
T |
expirationComponent()
The cache expiration configuration.
|
T |
expirationComponent(ExpirationComponent value)
The cache expiration configuration.
|
T |
expirationComponent(ExpirationComponentConsumer consumer)
The cache expiration configuration.
|
T |
expirationComponent(ExpirationComponentSupplier supplier)
The cache expiration configuration.
|
T |
fileStore()
The cache file store configuration.
|
T |
fileStore(FileStore value)
The cache file store configuration.
|
T |
fileStore(FileStoreConsumer consumer)
The cache file store configuration.
|
T |
fileStore(FileStoreSupplier supplier)
The cache file store configuration.
|
String |
getKey() |
Double |
hitRatio()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
hitRatio(Double value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
hits()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
hits(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
hotrodStore()
HotRod-based store using Infinispan Server instance to store data.
|
T |
hotrodStore(HotrodStore value)
HotRod-based store using Infinispan Server instance to store data.
|
T |
hotrodStore(HotrodStoreConsumer consumer)
HotRod-based store using Infinispan Server instance to store data.
|
T |
hotrodStore(HotrodStoreSupplier supplier)
HotRod-based store using Infinispan Server instance to store data.
|
String |
indexing()
Deprecated.
Deprecated. Has no effect.
|
T |
indexing(String value)
Deprecated.
Deprecated. Has no effect.
|
Map |
indexingProperties()
Deprecated.
Deprecated. Has no effect.
|
T |
indexingProperties(Map value)
Deprecated.
Deprecated. Has no effect.
|
T |
indexingProperty(String key,
Object value)
Deprecated.
Deprecated. Has no effect.
|
Integer |
invalidationBatchSize()
The threshold after which batched invalidations are sent.
|
T |
invalidationBatchSize(Integer value)
The threshold after which batched invalidations are sent.
|
Long |
invalidations()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
invalidations(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
jdbcStore()
The cache JDBC store configuration.
|
T |
jdbcStore(JDBCStore value)
The cache JDBC store configuration.
|
T |
jdbcStore(JDBCStoreConsumer consumer)
The cache JDBC store configuration.
|
T |
jdbcStore(JDBCStoreSupplier supplier)
The cache JDBC store configuration.
|
String |
jndiName()
Deprecated.
Deprecated. Will be ignored.
|
T |
jndiName(String value)
Deprecated.
Deprecated. Will be ignored.
|
T |
lockingComponent()
The locking configuration of the cache.
|
T |
lockingComponent(LockingComponent value)
The locking configuration of the cache.
|
T |
lockingComponent(LockingComponentConsumer consumer)
The locking configuration of the cache.
|
T |
lockingComponent(LockingComponentSupplier supplier)
The locking configuration of the cache.
|
Long |
misses()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
misses(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
mixedJdbcStore()
The cache JDBC store configuration.
|
T |
mixedJdbcStore(MixedJDBCStore value)
The cache JDBC store configuration.
|
T |
mixedJdbcStore(MixedJDBCStoreConsumer consumer)
The cache JDBC store configuration.
|
T |
mixedJdbcStore(MixedJDBCStoreSupplier supplier)
The cache JDBC store configuration.
|
String |
mode()
Deprecated.
Deprecated. This attribute will be ignored. All cache modes
will be treated as SYNC. To perform asynchronous cache
operations, use Infinispan's asynchronous cache API.
|
T |
mode(String value)
Deprecated.
Deprecated. This attribute will be ignored. All cache modes
will be treated as SYNC. To perform asynchronous cache
operations, use Infinispan's asynchronous cache API.
|
String |
module()
The module whose class loader should be used when building this cache's
configuration.
|
T |
module(String value)
The module whose class loader should be used when building this cache's
configuration.
|
T |
noneStore()
A store-less configuration.
|
T |
noneStore(NoneStore value)
A store-less configuration.
|
T |
noneStore(NoneStoreConsumer consumer)
A store-less configuration.
|
T |
noneStore(NoneStoreSupplier supplier)
A store-less configuration.
|
Integer |
numberOfEntries()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
numberOfEntries(Integer value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
objectMemory()
On-heap object-based memory configuration.
|
T |
objectMemory(ObjectMemory value)
On-heap object-based memory configuration.
|
T |
objectMemory(ObjectMemoryConsumer consumer)
On-heap object-based memory configuration.
|
T |
objectMemory(ObjectMemorySupplier supplier)
On-heap object-based memory configuration.
|
T |
offHeapMemory()
Off-heap memory configuration.
|
T |
offHeapMemory(OffHeapMemory value)
Off-heap memory configuration.
|
T |
offHeapMemory(OffHeapMemoryConsumer consumer)
Off-heap memory configuration.
|
T |
offHeapMemory(OffHeapMemorySupplier supplier)
Off-heap memory configuration.
|
T |
partitionHandlingComponent()
The partition handling configuration for distributed and replicated
caches.
|
T |
partitionHandlingComponent(PartitionHandlingComponent value)
The partition handling configuration for distributed and replicated
caches.
|
T |
partitionHandlingComponent(PartitionHandlingComponentConsumer consumer)
The partition handling configuration for distributed and replicated
caches.
|
T |
partitionHandlingComponent(PartitionHandlingComponentSupplier supplier)
The partition handling configuration for distributed and replicated
caches.
|
Long |
passivations()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
passivations(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
queueFlushInterval()
Deprecated.
Deprecated. This attribute will be ignored.
|
T |
queueFlushInterval(Long value)
Deprecated.
Deprecated. This attribute will be ignored.
|
Integer |
queueSize()
Deprecated.
Deprecated. This attribute will be ignored.
|
T |
queueSize(Integer value)
Deprecated.
Deprecated. This attribute will be ignored.
|
Double |
readWriteRatio()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
readWriteRatio(Double value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
remoteStore()
The cache remote store configuration.
|
T |
remoteStore(RemoteStore value)
The cache remote store configuration.
|
T |
remoteStore(RemoteStoreConsumer consumer)
The cache remote store configuration.
|
T |
remoteStore(RemoteStoreSupplier supplier)
The cache remote store configuration.
|
Long |
remoteTimeout()
In SYNC mode, the timeout (in ms) used to wait for an acknowledgment when
making a remote call, after which the call is aborted and an exception is
thrown.
|
T |
remoteTimeout(Long value)
In SYNC mode, the timeout (in ms) used to wait for an acknowledgment when
making a remote call, after which the call is aborted and an exception is
thrown.
|
Long |
removeHits()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
removeHits(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
removeMisses()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
removeMisses(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
replicationCount()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
replicationCount(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
replicationFailures()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
replicationFailures(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Integer |
segments()
Controls the number of hash space segments which is the granularity for
key distribution in the cluster.
|
T |
segments(Integer value)
Controls the number of hash space segments which is the granularity for
key distribution in the cluster.
|
String |
start()
Deprecated.
Deprecated. Only LAZY mode is supported.
|
T |
start(String value)
Deprecated.
Deprecated. Only LAZY mode is supported.
|
T |
stateTransferComponent()
The state transfer configuration for distributed and replicated caches.
|
T |
stateTransferComponent(StateTransferComponent value)
The state transfer configuration for distributed and replicated caches.
|
T |
stateTransferComponent(StateTransferComponentConsumer consumer)
The state transfer configuration for distributed and replicated caches.
|
T |
stateTransferComponent(StateTransferComponentSupplier supplier)
The state transfer configuration for distributed and replicated caches.
|
Boolean |
statisticsEnabled()
If enabled, statistics will be collected for this cache
|
T |
statisticsEnabled(Boolean value)
If enabled, statistics will be collected for this cache
|
Long |
stores()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
stores(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
ScatteredCache.ScatteredCacheResources |
subresources() |
Double |
successRatio()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
successRatio(Double value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
timeSinceReset()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
timeSinceReset(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
transactionComponent()
The cache transaction configuration.
|
T |
transactionComponent(TransactionComponent value)
The cache transaction configuration.
|
T |
transactionComponent(TransactionComponentConsumer consumer)
The cache transaction configuration.
|
T |
transactionComponent(TransactionComponentSupplier supplier)
The cache transaction configuration.
|
public ScatteredCache(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ScatteredCache.ScatteredCacheResources subresources()
public T expirationComponent(ExpirationComponent value)
public T expirationComponent(ExpirationComponentConsumer consumer)
public T expirationComponent()
public T expirationComponent(ExpirationComponentSupplier supplier)
public T customStore(CustomStore value)
public T customStore(CustomStoreConsumer consumer)
public T customStore()
public T customStore(CustomStoreSupplier supplier)
public T noneStore(NoneStoreConsumer consumer)
public T noneStore()
public T noneStore(NoneStoreSupplier supplier)
public T backupForComponent(BackupForComponent value)
public T backupForComponent(BackupForComponentConsumer consumer)
public T backupForComponent()
public T backupForComponent(BackupForComponentSupplier supplier)
public T objectMemory(ObjectMemory value)
public T objectMemory(ObjectMemoryConsumer consumer)
public T objectMemory()
public T objectMemory(ObjectMemorySupplier supplier)
public T transactionComponent(TransactionComponent value)
public T transactionComponent(TransactionComponentConsumer consumer)
public T transactionComponent()
public T transactionComponent(TransactionComponentSupplier supplier)
public T hotrodStore(HotrodStore value)
public T hotrodStore(HotrodStoreConsumer consumer)
public T hotrodStore()
public T hotrodStore(HotrodStoreSupplier supplier)
public T binaryMemory(BinaryMemory value)
public T binaryMemory(BinaryMemoryConsumer consumer)
public T binaryMemory()
public T binaryMemory(BinaryMemorySupplier supplier)
public T binaryJdbcStore(BinaryJDBCStore value)
public T binaryJdbcStore(BinaryJDBCStoreConsumer consumer)
public T binaryJdbcStore()
public T binaryJdbcStore(BinaryJDBCStoreSupplier supplier)
public T fileStore(FileStoreConsumer consumer)
public T fileStore()
public T fileStore(FileStoreSupplier supplier)
public T stateTransferComponent(StateTransferComponent value)
public T stateTransferComponent(StateTransferComponentConsumer consumer)
public T stateTransferComponent()
public T stateTransferComponent(StateTransferComponentSupplier supplier)
public T offHeapMemory(OffHeapMemory value)
public T offHeapMemory(OffHeapMemoryConsumer consumer)
public T offHeapMemory()
public T offHeapMemory(OffHeapMemorySupplier supplier)
public T jdbcStore(JDBCStoreConsumer consumer)
public T jdbcStore()
public T jdbcStore(JDBCStoreSupplier supplier)
public T partitionHandlingComponent(PartitionHandlingComponent value)
public T partitionHandlingComponent(PartitionHandlingComponentConsumer consumer)
public T partitionHandlingComponent()
public T partitionHandlingComponent(PartitionHandlingComponentSupplier supplier)
public T lockingComponent(LockingComponent value)
public T lockingComponent(LockingComponentConsumer consumer)
public T lockingComponent()
public T lockingComponent(LockingComponentSupplier supplier)
public T backupsComponent(BackupsComponent value)
public T backupsComponent(BackupsComponentConsumer consumer)
public T backupsComponent()
public T backupsComponent(BackupsComponentSupplier supplier)
public T mixedJdbcStore(MixedJDBCStore value)
public T mixedJdbcStore(MixedJDBCStoreConsumer consumer)
public T mixedJdbcStore()
public T mixedJdbcStore(MixedJDBCStoreSupplier supplier)
public T remoteStore(RemoteStore value)
public T remoteStore(RemoteStoreConsumer consumer)
public T remoteStore()
public T remoteStore(RemoteStoreSupplier supplier)
@Deprecated public Long activations()
@Deprecated public T activations(Long value)
@Deprecated public Boolean asyncMarshalling()
@Deprecated public T asyncMarshalling(Boolean value)
@Deprecated public Long averageReadTime()
@Deprecated public T averageReadTime(Long value)
@Deprecated public Long averageReplicationTime()
@Deprecated public T averageReplicationTime(Long value)
@Deprecated public Long averageWriteTime()
@Deprecated public T averageWriteTime(Long value)
@Deprecated public Boolean batching()
@Deprecated public T batching(Boolean value)
public Long biasLifespan()
public T biasLifespan(Long value)
@Deprecated public String cacheStatus()
@Deprecated public T cacheStatus(String value)
public ConsistentHashStrategy consistentHashStrategy()
public T consistentHashStrategy(ConsistentHashStrategy value)
@Deprecated public Long elapsedTime()
@Deprecated public T elapsedTime(Long value)
@Deprecated public Double hitRatio()
@Deprecated public T hitRatio(Double value)
@Deprecated public Long hits()
@Deprecated public T hits(Long value)
@Deprecated public String indexing()
@Deprecated public T indexing(String value)
@Deprecated public Map indexingProperties()
@Deprecated public T indexingProperties(Map value)
@Deprecated public T indexingProperty(String key, Object value)
public Integer invalidationBatchSize()
public T invalidationBatchSize(Integer value)
@Deprecated public Long invalidations()
@Deprecated public T invalidations(Long value)
@Deprecated public String jndiName()
@Deprecated public T jndiName(String value)
@Deprecated public Long misses()
@Deprecated public T misses(Long value)
@Deprecated public String mode()
@Deprecated public T mode(String value)
public String module()
public T module(String value)
@Deprecated public Integer numberOfEntries()
@Deprecated public T numberOfEntries(Integer value)
@Deprecated public Long passivations()
@Deprecated public T passivations(Long value)
@Deprecated public Long queueFlushInterval()
@Deprecated public T queueFlushInterval(Long value)
@Deprecated public Integer queueSize()
@Deprecated public T queueSize(Integer value)
@Deprecated public Double readWriteRatio()
@Deprecated public T readWriteRatio(Double value)
public Long remoteTimeout()
public T remoteTimeout(Long value)
@Deprecated public Long removeHits()
@Deprecated public T removeHits(Long value)
@Deprecated public Long removeMisses()
@Deprecated public T removeMisses(Long value)
@Deprecated public Long replicationCount()
@Deprecated public T replicationCount(Long value)
@Deprecated public Long replicationFailures()
@Deprecated public T replicationFailures(Long value)
public Integer segments()
public T segments(Integer value)
@Deprecated public String start()
@Deprecated public T start(String value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
@Deprecated public Long stores()
@Deprecated public T stores(Long value)
@Deprecated public Double successRatio()
@Deprecated public T successRatio(Double value)
@Deprecated public Long timeSinceReset()
@Deprecated public T timeSinceReset(Long value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.