public class L1ConfigurationBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
AsyncConfigurationBuilder |
async()
If configured all communications are asynchronous, in that whenever a thread sends a message
sent over the wire, it does not wait for an acknowledgment before returning.
|
Configuration |
build() |
L1ConfigurationBuilder |
cleanupTaskFrequency(long frequencyMillis)
How often the L1 requestors map is cleaned up of stale items
|
ClusteringConfigurationBuilder |
clustering() |
CustomInterceptorsConfigurationBuilder |
customInterceptors() |
DataContainerConfigurationBuilder |
dataContainer() |
DeadlockDetectionConfigurationBuilder |
deadlockDetection() |
L1ConfigurationBuilder |
disable() |
L1ConfigurationBuilder |
disableOnRehash()
Entries removed due to a rehash will be removed altogether rather than bring moved to L1.
|
L1ConfigurationBuilder |
enable() |
L1ConfigurationBuilder |
enabled(boolean enabled) |
L1ConfigurationBuilder |
enableOnRehash()
Entries removed due to a rehash will be moved to L1 rather than being removed altogether.
|
EvictionConfigurationBuilder |
eviction() |
ExpirationConfigurationBuilder |
expiration() |
protected ConfigurationBuilder |
getBuilder() |
protected ClusteringConfigurationBuilder |
getClusteringBuilder() |
HashConfigurationBuilder |
hash()
Allows fine-tuning of rehashing characteristics.
|
IndexingConfigurationBuilder |
indexing() |
L1ConfigurationBuilder |
invalidationThreshold(int invalidationThreshold)
Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.
|
InvocationBatchingConfigurationBuilder |
invocationBatching() |
JMXStatisticsConfigurationBuilder |
jmxStatistics() |
L1ConfigurationBuilder |
l1()
Configures the L1 cache behavior in 'distributed' caches instances.
|
L1ConfigurationBuilder |
lifespan(long lifespan)
Maximum lifespan of an entry placed in the L1 cache.
|
LoadersConfigurationBuilder |
loaders() |
LockingConfigurationBuilder |
locking() |
L1ConfigurationBuilder |
onRehash(boolean enabled)
Entries removed due to a rehash will be moved to L1 rather than being removed altogether.
|
L1ConfigurationBuilder |
read(L1Configuration template) |
StateTransferConfigurationBuilder |
stateTransfer()
Configures how state is transferred when a new cache joins the cluster.
|
StoreAsBinaryConfigurationBuilder |
storeAsBinary() |
SyncConfigurationBuilder |
sync()
If configured all communications are synchronous, in that whenever a thread sends a message
sent over the wire, it blocks until it receives an acknowledgment from the recipient.
|
String |
toString() |
TransactionConfigurationBuilder |
transaction() |
UnsafeConfigurationBuilder |
unsafe() |
VersioningConfigurationBuilder |
versioning() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, clustering, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, loaders, locking, storeAsBinary, transaction, unsafe, versioningpublic L1ConfigurationBuilder invalidationThreshold(int invalidationThreshold)
Determines whether a multicast or a web of unicasts are used when performing L1 invalidations.
By default multicast will be used.
If the threshold is set to -1, then unicasts will always be used. If the threshold is set to 0, then multicast will be always be used.
threshold - the threshold over which to use a multicastpublic L1ConfigurationBuilder lifespan(long lifespan)
public L1ConfigurationBuilder cleanupTaskFrequency(long frequencyMillis)
public L1ConfigurationBuilder enableOnRehash()
public L1ConfigurationBuilder onRehash(boolean enabled)
public L1ConfigurationBuilder disableOnRehash()
public L1ConfigurationBuilder enable()
public L1ConfigurationBuilder disable()
public L1ConfigurationBuilder enabled(boolean enabled)
public L1ConfigurationBuilder read(L1Configuration template)
public AsyncConfigurationBuilder async()
ClusteringConfigurationChildBuilderasync in interface ClusteringConfigurationChildBuilderpublic HashConfigurationBuilder hash()
ClusteringConfigurationChildBuilderhash in interface ClusteringConfigurationChildBuilderpublic L1ConfigurationBuilder l1()
ClusteringConfigurationChildBuilderl1 in interface ClusteringConfigurationChildBuilderpublic StateTransferConfigurationBuilder stateTransfer()
ClusteringConfigurationChildBuilderstateTransfer in interface ClusteringConfigurationChildBuilderpublic SyncConfigurationBuilder sync()
ClusteringConfigurationChildBuildersync in interface ClusteringConfigurationChildBuilderprotected ClusteringConfigurationBuilder getClusteringBuilder()
public ClusteringConfigurationBuilder clustering()
clustering in interface ConfigurationChildBuilderpublic CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors in interface ConfigurationChildBuilderpublic DataContainerConfigurationBuilder dataContainer()
dataContainer in interface ConfigurationChildBuilderpublic DeadlockDetectionConfigurationBuilder deadlockDetection()
deadlockDetection in interface ConfigurationChildBuilderpublic EvictionConfigurationBuilder eviction()
eviction in interface ConfigurationChildBuilderpublic ExpirationConfigurationBuilder expiration()
expiration in interface ConfigurationChildBuilderpublic IndexingConfigurationBuilder indexing()
indexing in interface ConfigurationChildBuilderpublic InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching in interface ConfigurationChildBuilderpublic JMXStatisticsConfigurationBuilder jmxStatistics()
jmxStatistics in interface ConfigurationChildBuilderpublic LoadersConfigurationBuilder loaders()
loaders in interface ConfigurationChildBuilderpublic LockingConfigurationBuilder locking()
locking in interface ConfigurationChildBuilderpublic StoreAsBinaryConfigurationBuilder storeAsBinary()
storeAsBinary in interface ConfigurationChildBuilderpublic TransactionConfigurationBuilder transaction()
transaction in interface ConfigurationChildBuilderpublic VersioningConfigurationBuilder versioning()
versioning in interface ConfigurationChildBuilderpublic UnsafeConfigurationBuilder unsafe()
unsafe in interface ConfigurationChildBuilderprotected ConfigurationBuilder getBuilder()
public Configuration build()
build in interface ConfigurationChildBuilderCopyright © 2012 JBoss by Red Hat. All Rights Reserved.