@Deprecated public static class Configuration.L1Type extends AbstractNamedCacheConfigurationBean implements FluentConfiguration.L1Config
Modifier and Type | Field and Description |
---|---|
boolean |
activated
Deprecated.
|
protected Boolean |
enabled
Deprecated.
|
protected Long |
frequency
Deprecated.
|
protected Integer |
invalidationThreshold
Deprecated.
|
protected Long |
lifespan
Deprecated.
|
protected Boolean |
onRehash
Deprecated.
|
cr
overriddenConfigurationElements
Constructor and Description |
---|
Configuration.L1Type()
Deprecated.
|
clone, hasComponentStarted, inject
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
async, hash, l1, mode, stateRetrieval, sync
protected Boolean enabled
protected Long lifespan
protected Boolean onRehash
protected Integer invalidationThreshold
protected Long frequency
public boolean activated
public void accept(ConfigurationBeanVisitor v)
public Boolean isEnabled()
@Deprecated public FluentConfiguration.L1Config setEnabled(Boolean enabled)
public Long getLifespan()
@Deprecated public FluentConfiguration.L1Config setLifespan(Long lifespan)
lifespan(Long)
@Deprecated public FluentConfiguration.L1Config setL1InvalidationCleanupTaskFrequency(long frequencyMillis)
#invalidationReaperThreadFrequency(Long)
public FluentConfiguration.L1Config cleanupTaskFrequency(Long frequencyMillis)
FluentConfiguration.L1Config
cleanupTaskFrequency
in interface FluentConfiguration.L1Config
frequencyMillis
- frequency in millisecondspublic Long getL1InvalidationCleanupTaskFrequency()
public FluentConfiguration.L1Config lifespan(Long lifespan)
FluentConfiguration.L1Config
lifespan
in interface FluentConfiguration.L1Config
public Boolean isOnRehash()
@Deprecated public FluentConfiguration.L1Config setOnRehash(Boolean onRehash)
onRehash(Boolean)
public FluentConfiguration.L1Config onRehash(Boolean onRehash)
FluentConfiguration.L1Config
onRehash
in interface FluentConfiguration.L1Config
public FluentConfiguration.L1Config invalidationThreshold(Integer threshold)
FluentConfiguration.L1Config
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.
invalidationThreshold
in interface FluentConfiguration.L1Config
threshold
- the threshold over which to use a multicastpublic void setInvalidationThreshold(Integer threshold)
public Integer getInvalidationThreshold()
public FluentConfiguration.L1Config disable()
disable
in interface FluentConfiguration.L1Config
public FluentConfiguration.LockingConfig locking()
public FluentConfiguration.LoadersConfig loaders()
public FluentConfiguration.TransactionConfig transaction()
public FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
FluentConfiguration.DeadlockDetectionConfig.disable()
public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
public FluentConfiguration.EvictionConfig eviction()
public FluentConfiguration.ExpirationConfig expiration()
public FluentConfiguration.ClusteringConfig clustering()
public FluentConfiguration.IndexingConfig indexing()
FluentConfiguration.IndexingConfig.disable()
public FluentConfiguration.DataContainerConfig dataContainer()
public FluentConfiguration.UnsafeConfig unsafe()
public FluentConfiguration.JmxStatisticsConfig jmxStatistics()
public FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
public FluentConfiguration.InvocationBatchingConfig invocationBatching()
public FluentConfiguration.VersioningConfig versioning()
public Configuration build()
public FluentConfiguration.LockingConfig locking()
public FluentConfiguration.LoadersConfig loaders()
public FluentConfiguration.TransactionConfig transaction()
public FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
FluentConfiguration.DeadlockDetectionConfig.disable()
public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
public FluentConfiguration.EvictionConfig eviction()
public FluentConfiguration.ExpirationConfig expiration()
public FluentConfiguration.ClusteringConfig clustering()
public FluentConfiguration.IndexingConfig indexing()
FluentConfiguration.IndexingConfig.disable()
public FluentConfiguration.DataContainerConfig dataContainer()
public FluentConfiguration.UnsafeConfig unsafe()
public FluentConfiguration.JmxStatisticsConfig jmxStatistics()
public FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
public FluentConfiguration.VersioningConfig versioning()
public FluentConfiguration.InvocationBatchingConfig invocationBatching()
public FluentConfiguration.AsyncConfig async()
public FluentConfiguration.SyncConfig sync()
public FluentConfiguration.StateRetrievalConfig stateRetrieval()
public FluentConfiguration.L1Config l1()
public FluentConfiguration.HashConfig hash()
public FluentConfiguration.ClusteringConfig mode(Configuration.CacheMode mode)
public FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
public FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
public FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
public FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
public FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
public FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
public FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
public FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
public FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
public FluentConfiguration.RecoveryConfig recovery()
public Configuration build()
protected org.infinispan.config.AbstractFluentConfigurationBean setConfiguration(Configuration config)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.