Configuration
instead.@Deprecated public class Configuration extends AbstractNamedCacheConfigurationBean
Modifier and Type | Field and Description |
---|---|
protected String |
name
Deprecated.
|
cr
overriddenConfigurationElements
Constructor and Description |
---|
Configuration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ConfigurationBeanVisitor v)
Deprecated.
|
void |
applyOverrides(Configuration overrides)
Deprecated.
|
void |
assertValid()
Deprecated.
|
Configuration |
clone()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
Also see
equalsIgnoreName(Object) for equality that does not consider the name of the configuration. |
boolean |
equalsIgnoreName(Object o)
Deprecated.
Same as
equals(Object) but it ignores the getName() attribute in the comparison. |
FluentConfiguration |
fluent()
Deprecated.
|
CacheLoaderManagerConfig |
getCacheLoaderManagerConfig()
Deprecated.
|
List<CacheLoaderConfig> |
getCacheLoaders()
Deprecated.
|
Configuration.CacheMode |
getCacheMode()
Deprecated.
|
String |
getCacheModeString()
Deprecated.
|
int |
getCacheStopTimeout()
Deprecated.
|
ClassLoader |
getClassLoader()
Deprecated.
|
int |
getConcurrencyLevel()
Deprecated.
|
String |
getConsistentHashClass()
Deprecated.
No longer used since 5.2, use
HashConfigurationBuilder.consistentHashFactory(org.infinispan.distribution.ch.ConsistentHashFactory) instead. |
List<CustomInterceptorConfig> |
getCustomInterceptors()
Deprecated.
Returns the
CustomInterceptorConfig , if any, associated with this configuration
object. |
DataContainer |
getDataContainer()
Deprecated.
|
String |
getDataContainerClass()
Deprecated.
Pluggable data container class which must implement
DataContainer |
TypedProperties |
getDataContainerProperties()
Deprecated.
|
long |
getDeadlockDetectionSpinDuration()
Deprecated.
|
int |
getEvictionMaxEntries()
Deprecated.
|
EvictionStrategy |
getEvictionStrategy()
Deprecated.
|
EvictionThreadPolicy |
getEvictionThreadPolicy()
Deprecated.
|
long |
getEvictionWakeUpInterval()
Deprecated.
|
long |
getExpirationLifespan()
Deprecated.
Expiration lifespan, in milliseconds
|
long |
getExpirationMaxIdle()
Deprecated.
Expiration max idle time, in milliseconds
|
long |
getExpirationWakeUpInterval()
Deprecated.
Eviction thread wake up interval, in milliseconds.
|
GlobalConfiguration |
getGlobalConfiguration()
Deprecated.
|
List<Grouper<?>> |
getGroupers()
Deprecated.
|
String |
getHashFunctionClass()
Deprecated.
|
TypedProperties |
getIndexingProperties()
Deprecated.
|
IsolationLevel |
getIsolationLevel()
Deprecated.
|
long |
getL1InvalidationCleanupTaskFrequency()
Deprecated.
|
int |
getL1InvalidationThreshold()
Deprecated.
|
long |
getL1Lifespan()
Deprecated.
|
long |
getLockAcquisitionTimeout()
Deprecated.
|
String |
getName()
Deprecated.
Returns the name of the cache associated with this configuration.
|
int |
getNumOwners()
Deprecated.
|
int |
getNumVirtualNodes()
Deprecated.
|
long |
getRehashRpcTimeout()
Deprecated.
|
long |
getRehashWaitTime()
Deprecated.
|
String |
getReplQueueClass()
Deprecated.
|
long |
getReplQueueInterval()
Deprecated.
|
int |
getReplQueueMaxElements()
Deprecated.
|
int |
getStateRetrievalChunkSize()
Deprecated.
|
long |
getStateRetrievalInitialRetryWaitTime()
Deprecated.
|
long |
getStateRetrievalLogFlushTimeout()
Deprecated.
|
int |
getStateRetrievalMaxNonProgressingLogWrites()
Deprecated.
|
int |
getStateRetrievalNumRetries()
Deprecated.
|
int |
getStateRetrievalRetryWaitTimeIncreaseFactor()
Deprecated.
|
long |
getStateRetrievalTimeout()
Deprecated.
|
long |
getSyncReplTimeout()
Deprecated.
|
LockingMode |
getTransactionLockingMode()
Deprecated.
Returns the locking mode for this cache.
|
TransactionManagerLookup |
getTransactionManagerLookup()
Deprecated.
|
String |
getTransactionManagerLookupClass()
Deprecated.
|
TransactionMode |
getTransactionMode()
Deprecated.
Returns cache's transaction mode.
|
String |
getTransactionRecoveryCacheName()
Deprecated.
Returns the name of the cache used in order to keep recovery information.
|
TransactionSynchronizationRegistryLookup |
getTransactionSynchronizationRegistryLookup()
Deprecated.
|
VersioningScheme |
getVersioningScheme()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
inject(ComponentRegistry cr)
Deprecated.
|
boolean |
isAlwaysProvideInMemoryState()
Deprecated.
|
boolean |
isCacheLoaderPassivation()
Deprecated.
|
boolean |
isCacheLoaderPreload()
Deprecated.
|
boolean |
isCacheLoaderShared()
Deprecated.
|
boolean |
isCustomConsistentHashClass()
Deprecated.
No longer useful, since
getConsistentHashClass() is not used. |
boolean |
isCustomHashFunctionClass()
Deprecated.
|
boolean |
isDeadlockDetectionEnabled()
Deprecated.
|
boolean |
isEagerLockingSingleNodeInUse()
Deprecated.
this is deprecated as starting with Infinispan 5.1 a single lock is always acquired disregarding the
number of owner.
|
boolean |
isEagerLockSingleNode()
Deprecated.
starting with Infinispan 5.1 single node locking is used by default
|
boolean |
isEnableDeadlockDetection()
Deprecated.
Use
isDeadlockDetectionEnabled() instead. |
boolean |
isEnableVersioning()
Deprecated.
|
boolean |
isExpirationReaperEnabled()
Deprecated.
|
boolean |
isExposeJmxStatistics()
Deprecated.
|
boolean |
isFetchInMemoryState()
Deprecated.
|
boolean |
isFetchPersistentState()
Deprecated.
|
boolean |
isGroupsEnabled()
Deprecated.
|
boolean |
isHashActivated()
Deprecated.
|
boolean |
isIndexingEnabled()
Deprecated.
|
boolean |
isIndexLocalOnly()
Deprecated.
|
boolean |
isInvocationBatchingEnabled()
Deprecated.
|
boolean |
isL1CacheActivated()
Deprecated.
|
boolean |
isL1CacheEnabled()
Deprecated.
|
boolean |
isL1OnRehash()
Deprecated.
|
boolean |
isOnePhaseCommit()
Deprecated.
|
boolean |
isRehashEnabled()
Deprecated.
|
boolean |
isSecondPhaseAsync()
Deprecated.
Returns true if the 2nd phase of the 2PC (i.e.
|
boolean |
isStateTransferEnabled()
Deprecated.
|
boolean |
isStoreAsBinary()
Deprecated.
|
boolean |
isStoreKeysAsBinary()
Deprecated.
|
boolean |
isStoreValuesAsBinary()
Deprecated.
|
boolean |
isSyncCommitPhase()
Deprecated.
Important - to be used with caution: if you have two transactions writing to the same key concurrently and
the commit is configured to be performed asynchronously then inconsistencies might happen.
|
boolean |
isSyncRollbackPhase()
Deprecated.
|
boolean |
isTransactionalCache()
Deprecated.
Returns true if the cache is configured to run in transactional mode, false otherwise.
|
boolean |
isTransactionAutoCommit()
Deprecated.
If the cache is transactional (i.e.
|
boolean |
isTransactionRecoveryEnabled()
Deprecated.
Returns true if transaction recovery information is collected.
|
boolean |
isUnsafeUnreliableReturnValues()
Deprecated.
|
boolean |
isUse1PcForAutoCommitTransactions()
Deprecated.
Enabling this would cause autoCommit transactions (
isTransactionAutoCommit() ) to complete with 1 RPC
instead of 2 RPCs (which is default). |
boolean |
isUseAsyncMarshalling()
Deprecated.
|
boolean |
isUseEagerLocking()
Deprecated.
|
boolean |
isUseLazyDeserialization()
Deprecated.
|
boolean |
isUseLockStriping()
Deprecated.
|
boolean |
isUseReplQueue()
Deprecated.
|
boolean |
isUseSynchronizationForTransactions()
Deprecated.
If enabled Infinispan enlists within transactions as a
Synchronization . |
boolean |
isUsingCacheLoaders()
Deprecated.
|
boolean |
isWriteSkewCheck()
Deprecated.
|
void |
setAlwaysProvideInMemoryState(boolean alwaysProvideInMemoryState)
Deprecated.
|
void |
setCacheLoaderManagerConfig(CacheLoaderManagerConfig cacheLoaderManagerConfig)
Deprecated.
|
void |
setCacheMode(Configuration.CacheMode cacheModeInt)
Deprecated.
|
void |
setCacheMode(String cacheMode)
Deprecated.
|
void |
setCacheModeString(String cacheMode)
Deprecated.
|
Configuration |
setCacheStopTimeout(int cacheStopTimeout)
Deprecated.
|
void |
setClassLoader(ClassLoader cl)
Deprecated.
|
void |
setConcurrencyLevel(int concurrencyLevel)
Deprecated.
|
void |
setConsistentHashClass(String consistentHashClass)
Deprecated.
No longer used since 5.2, use
HashConfigurationBuilder.consistentHashFactory(org.infinispan.distribution.ch.ConsistentHashFactory) instead. |
void |
setCustomInterceptors(List<CustomInterceptorConfig> customInterceptors)
|
void |
setDeadlockDetectionSpinDuration(long eagerDeadlockSpinDuration)
Deprecated.
|
void |
setEagerLockSingleNode(boolean eagerLockSingleNode)
Deprecated.
|
void |
setEnableDeadlockDetection(boolean useEagerDeadlockDetection)
Deprecated.
Use
AbstractFluentConfigurationBean.deadlockDetection() instead |
void |
setEnableVersioning(boolean enabled)
Deprecated.
|
void |
setEvictionMaxEntries(int evictionMaxEntries)
Deprecated.
|
void |
setEvictionStrategy(EvictionStrategy evictionStrategy)
Deprecated.
|
void |
setEvictionStrategy(String eStrategy)
Deprecated.
|
void |
setEvictionThreadPolicy(EvictionThreadPolicy policy)
Deprecated.
|
void |
setEvictionThreadPolicy(String policy)
Deprecated.
|
void |
setEvictionWakeUpInterval(long evictionWakeUpInterval)
Deprecated.
|
void |
setExpirationLifespan(long expirationLifespan)
Deprecated.
|
void |
setExpirationMaxIdle(long expirationMaxIdle)
Deprecated.
|
void |
setExposeJmxStatistics(boolean useMbean)
Deprecated.
Use
AbstractFluentConfigurationBean.jmxStatistics() instead |
void |
setFetchInMemoryState(boolean fetchInMemoryState)
Deprecated.
|
void |
setGlobalConfiguration(GlobalConfiguration gc)
Deprecated.
|
void |
setHashFunctionClass(String hashFunctionClass)
Deprecated.
|
void |
setIndexingEnabled(boolean enabled)
Deprecated.
Use
AbstractFluentConfigurationBean.indexing() instead |
void |
setIndexLocalOnly(boolean indexLocalOnly)
Deprecated.
|
void |
setInvocationBatchingEnabled(boolean enabled)
Deprecated.
Use
AbstractFluentConfigurationBean.invocationBatching() instead |
void |
setIsolationLevel(IsolationLevel isolationLevel)
Deprecated.
|
void |
setIsolationLevel(String isolationLevel)
Deprecated.
|
void |
setL1CacheEnabled(boolean l1CacheEnabled)
Deprecated.
Use
AbstractFluentConfigurationBean.l1() instead |
void |
setL1InvalidationCleanupTaskFrequency(long frequencyMillis)
Deprecated.
|
void |
setL1InvalidationThreshold(int threshold)
Deprecated.
|
void |
setL1Lifespan(long l1Lifespan)
Deprecated.
Use
FluentConfiguration.L1Config.lifespan(Long) instead |
void |
setL1OnRehash(boolean l1OnRehash)
Deprecated.
Use
FluentConfiguration.L1Config.onRehash(Boolean) instead |
void |
setLockAcquisitionTimeout(long lockAcquisitionTimeout)
Deprecated.
|
void |
setLockAcquisitionTimeout(long lockAcquisitionTimeout,
TimeUnit timeUnit)
Deprecated.
|
void |
setNumOwners(int numOwners)
Deprecated.
|
void |
setRehashEnabled(boolean rehashEnabled)
Deprecated.
|
void |
setRehashRpcTimeout(long rehashRpcTimeout)
Deprecated.
|
void |
setRehashWaitTime(long rehashWaitTime)
Deprecated.
Use
FluentConfiguration.HashConfig.rehashWait(Long) instead |
void |
setReplQueueClass(String classname)
Deprecated.
|
void |
setReplQueueInterval(long replQueueInterval)
Deprecated.
|
void |
setReplQueueInterval(long replQueueInterval,
TimeUnit timeUnit)
Deprecated.
|
void |
setReplQueueMaxElements(int replQueueMaxElements)
Deprecated.
|
void |
setStateRetrievalChunkSize(int chunkSize)
Deprecated.
|
void |
setStateRetrievalInitialRetryWaitTime(long initialRetryWaitTime)
Deprecated.
|
void |
setStateRetrievalInitialRetryWaitTime(long initialRetryWaitTime,
TimeUnit timeUnit)
Deprecated.
|
void |
setStateRetrievalLogFlushTimeout(long logFlushTimeout)
Deprecated.
|
void |
setStateRetrievalLogFlushTimeout(long logFlushTimeout,
TimeUnit timeUnit)
Deprecated.
|
void |
setStateRetrievalMaxNonProgressingLogWrites(int maxNonProgressingLogWrites)
Deprecated.
|
void |
setStateRetrievalNumRetries(int numRetries)
Deprecated.
|
void |
setStateRetrievalRetryWaitTimeIncreaseFactor(int retryWaitTimeIncreaseFactor)
Deprecated.
|
void |
setStateRetrievalTimeout(long stateRetrievalTimeout)
Deprecated.
|
void |
setStateRetrievalTimeout(long stateRetrievalTimeout,
TimeUnit timeUnit)
Deprecated.
|
void |
setSyncCommitPhase(boolean syncCommitPhase)
Deprecated.
|
void |
setSyncReplTimeout(long syncReplTimeout)
Deprecated.
Use
FluentConfiguration.SyncConfig.replTimeout(Long) instead |
void |
setSyncReplTimeout(long syncReplTimeout,
TimeUnit timeUnit)
Deprecated.
Use
FluentConfiguration.SyncConfig.replTimeout(Long) instead |
void |
setSyncRollbackPhase(boolean syncRollbackPhase)
Deprecated.
|
void |
setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
Deprecated.
|
void |
setTransactionManagerLookupClass(String transactionManagerLookupClass)
Deprecated.
|
void |
setUnsafeUnreliableReturnValues(boolean unsafeUnreliableReturnValues)
Deprecated.
|
void |
setUseAsyncMarshalling(boolean useAsyncMarshalling)
Deprecated.
|
void |
setUseEagerLocking(boolean useEagerLocking)
Deprecated.
|
void |
setUseLazyDeserialization(boolean useLazyDeserialization)
Deprecated.
Use
AbstractFluentConfigurationBean.storeAsBinary() instead |
void |
setUseLockStriping(boolean useLockStriping)
Deprecated.
|
void |
setUseReplQueue(boolean useReplQueue)
Deprecated.
|
void |
setVersioningScheme(VersioningScheme versioningScheme)
Deprecated.
|
void |
setWriteSkewCheck(boolean writeSkewCheck)
Deprecated.
|
String |
toXmlString()
Deprecated.
Converts this configuration instance to an XML representation containing the current settings.
|
hasComponentStarted
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
protected String name
public void applyOverrides(Configuration overrides)
public void inject(ComponentRegistry cr)
inject
in class AbstractNamedCacheConfigurationBean
@Deprecated public FluentConfiguration fluent()
ConfigurationBuilder
hierarchy to configure Infinispan caches fluently.public GlobalConfiguration getGlobalConfiguration()
public void setGlobalConfiguration(GlobalConfiguration gc)
public final String getName()
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader cl)
public boolean isStateTransferEnabled()
public long getDeadlockDetectionSpinDuration()
@Deprecated public void setDeadlockDetectionSpinDuration(long eagerDeadlockSpinDuration)
FluentConfiguration.DeadlockDetectionConfig.spinDuration(Long)
insteadeagerDeadlockSpinDuration
- @Deprecated public boolean isEnableDeadlockDetection()
isDeadlockDetectionEnabled()
instead.public boolean isDeadlockDetectionEnabled()
@Deprecated public void setEnableDeadlockDetection(boolean useEagerDeadlockDetection)
AbstractFluentConfigurationBean.deadlockDetection()
insteaduseEagerDeadlockDetection
- @Deprecated public void setUseLockStriping(boolean useLockStriping)
FluentConfiguration.LockingConfig.useLockStriping(Boolean)
insteaduseLockStriping
- public boolean isUseLockStriping()
public boolean isUnsafeUnreliableReturnValues()
@Deprecated public void setUnsafeUnreliableReturnValues(boolean unsafeUnreliableReturnValues)
FluentConfiguration.UnsafeConfig.unreliableReturnValues(Boolean)
insteadunsafeUnreliableReturnValues
- @Deprecated public void setRehashRpcTimeout(long rehashRpcTimeout)
FluentConfiguration.HashConfig.rehashRpcTimeout(Long)
insteadrehashRpcTimeout
- public long getRehashRpcTimeout()
public boolean isWriteSkewCheck()
@Deprecated public void setWriteSkewCheck(boolean writeSkewCheck)
FluentConfiguration.LockingConfig.writeSkewCheck(Boolean)
insteadwriteSkewCheck
- public int getConcurrencyLevel()
@Deprecated public void setConcurrencyLevel(int concurrencyLevel)
FluentConfiguration.LockingConfig.concurrencyLevel(Integer)
insteadconcurrencyLevel
- @Deprecated public void setReplQueueMaxElements(int replQueueMaxElements)
FluentConfiguration.AsyncConfig.replQueueMaxElements(Integer)
insteadreplQueueMaxElements
- @Deprecated public void setReplQueueInterval(long replQueueInterval)
FluentConfiguration.AsyncConfig.replQueueInterval(Long)
insteadreplQueueInterval
- @Deprecated public void setReplQueueInterval(long replQueueInterval, TimeUnit timeUnit)
FluentConfiguration.AsyncConfig.replQueueInterval(Long)
instead@Deprecated public void setReplQueueClass(String classname)
FluentConfiguration.AsyncConfig.replQueueClass(Class)
insteadclassname
- @Deprecated public void setExposeJmxStatistics(boolean useMbean)
AbstractFluentConfigurationBean.jmxStatistics()
instead@Deprecated public void setInvocationBatchingEnabled(boolean enabled)
AbstractFluentConfigurationBean.invocationBatching()
insteadBatchingCache.startBatch()
and BatchingCache.endBatch(boolean)
to demarcate the start and
end of batches.enabled
- if true, batching is enabled.@Deprecated public void setFetchInMemoryState(boolean fetchInMemoryState)
FluentConfiguration.StateRetrievalConfig.fetchInMemoryState(Boolean)
insteadfetchInMemoryState
- @Deprecated public void setAlwaysProvideInMemoryState(boolean alwaysProvideInMemoryState)
FluentConfiguration.StateRetrievalConfig.alwaysProvideInMemoryState(Boolean)
insteadalwaysProvideInMemoryState
- @Deprecated public void setLockAcquisitionTimeout(long lockAcquisitionTimeout)
FluentConfiguration.LockingConfig.lockAcquisitionTimeout(Long)
insteadlockAcquisitionTimeout
- @Deprecated public void setLockAcquisitionTimeout(long lockAcquisitionTimeout, TimeUnit timeUnit)
FluentConfiguration.LockingConfig.lockAcquisitionTimeout(Long)
insteadlockAcquisitionTimeout
- timeUnit
- @Deprecated public void setSyncReplTimeout(long syncReplTimeout)
FluentConfiguration.SyncConfig.replTimeout(Long)
insteadsyncReplTimeout
- @Deprecated public void setSyncReplTimeout(long syncReplTimeout, TimeUnit timeUnit)
FluentConfiguration.SyncConfig.replTimeout(Long)
insteadsyncReplTimeout
- timeUnit
- @Deprecated public void setCacheMode(Configuration.CacheMode cacheModeInt)
FluentConfiguration.ClusteringConfig.mode(org.infinispan.config.Configuration.CacheMode)
instead@Deprecated public void setCacheMode(String cacheMode)
FluentConfiguration.ClusteringConfig.mode(org.infinispan.config.Configuration.CacheMode)
insteadpublic String getCacheModeString()
@Deprecated public void setCacheModeString(String cacheMode)
FluentConfiguration.ClusteringConfig.mode(org.infinispan.config.Configuration.CacheMode)
insteadpublic String getDataContainerClass()
DataContainer
public DataContainer getDataContainer()
public TypedProperties getDataContainerProperties()
@Deprecated public long getEvictionWakeUpInterval()
getExpirationWakeUpInterval()
@Deprecated public void setEvictionWakeUpInterval(long evictionWakeUpInterval)
FluentConfiguration.ExpirationConfig.wakeUpInterval(Long)
insteadpublic EvictionStrategy getEvictionStrategy()
@Deprecated public void setEvictionStrategy(EvictionStrategy evictionStrategy)
FluentConfiguration.EvictionConfig.strategy(org.infinispan.eviction.EvictionStrategy)
insteadevictionStrategy
- @Deprecated public void setEvictionStrategy(String eStrategy)
FluentConfiguration.EvictionConfig.strategy(org.infinispan.eviction.EvictionStrategy)
insteadeStrategy
- public EvictionThreadPolicy getEvictionThreadPolicy()
@Deprecated public void setEvictionThreadPolicy(EvictionThreadPolicy policy)
FluentConfiguration.EvictionConfig.threadPolicy(org.infinispan.eviction.EvictionThreadPolicy)
insteadpolicy
- @Deprecated public void setEvictionThreadPolicy(String policy)
FluentConfiguration.EvictionConfig.threadPolicy(org.infinispan.eviction.EvictionThreadPolicy)
insteadpolicy
- public int getEvictionMaxEntries()
@Deprecated public void setEvictionMaxEntries(int evictionMaxEntries)
FluentConfiguration.EvictionConfig.maxEntries(Integer)
insteadevictionMaxEntries
- @Deprecated public void setVersioningScheme(VersioningScheme versioningScheme)
@Deprecated public void setEnableVersioning(boolean enabled)
public long getExpirationLifespan()
@Deprecated public VersioningScheme getVersioningScheme()
@Deprecated public boolean isEnableVersioning()
@Deprecated public void setExpirationLifespan(long expirationLifespan)
FluentConfiguration.ExpirationConfig.lifespan(Long)
insteadexpirationLifespan
- public long getExpirationMaxIdle()
@Deprecated public void setExpirationMaxIdle(long expirationMaxIdle)
FluentConfiguration.ExpirationConfig.maxIdle(Long)
insteadexpirationMaxIdle
- public long getExpirationWakeUpInterval()
@Deprecated public void setTransactionManagerLookupClass(String transactionManagerLookupClass)
FluentConfiguration.TransactionConfig.transactionManagerLookupClass(Class)
insteadTransactionManager
.
The default provided is capable of locating the default TransactionManager in most popular Java EE systems, using
a JNDI lookup. Calling this method marks the cache as transactional.transactionManagerLookupClass
- @Deprecated public void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
FluentConfiguration.TransactionConfig.transactionManagerLookup(TransactionManagerLookup)
instead@Deprecated public void setCacheLoaderManagerConfig(CacheLoaderManagerConfig cacheLoaderManagerConfig)
FluentConfiguration.LoadersConfig.addCacheLoader(org.infinispan.loaders.CacheLoaderConfig...)
instead@Deprecated public void setSyncCommitPhase(boolean syncCommitPhase)
FluentConfiguration.TransactionConfig.syncCommitPhase(Boolean)
insteadsyncCommitPhase
- @Deprecated public void setSyncRollbackPhase(boolean syncRollbackPhase)
FluentConfiguration.TransactionConfig.syncRollbackPhase(Boolean)
insteadsyncRollbackPhase
- @Deprecated public void setUseEagerLocking(boolean useEagerLocking)
FluentConfiguration.TransactionConfig.useEagerLocking(Boolean)
insteaduseEagerLocking
- @Deprecated public void setEagerLockSingleNode(boolean eagerLockSingleNode)
FluentConfiguration.TransactionConfig.eagerLockSingleNode(Boolean)
insteadeagerLockSingleNode
- @Deprecated public Configuration setCacheStopTimeout(int cacheStopTimeout)
FluentConfiguration.TransactionConfig.cacheStopTimeout(Integer)
instead@Deprecated public void setUseReplQueue(boolean useReplQueue)
FluentConfiguration.AsyncConfig.useReplQueue(Boolean)
insteaduseReplQueue
- @Deprecated public void setIsolationLevel(IsolationLevel isolationLevel)
FluentConfiguration.LockingConfig.isolationLevel(org.infinispan.util.concurrent.IsolationLevel)
insteadisolationLevel
- @Deprecated public void setStateRetrievalTimeout(long stateRetrievalTimeout)
FluentConfiguration.StateRetrievalConfig.timeout(Long)
insteadstateRetrievalTimeout
- @Deprecated public void setStateRetrievalTimeout(long stateRetrievalTimeout, TimeUnit timeUnit)
FluentConfiguration.StateRetrievalConfig.timeout(Long)
instead@Deprecated public void setStateRetrievalLogFlushTimeout(long logFlushTimeout)
FluentConfiguration.StateRetrievalConfig.logFlushTimeout(Long)
insteadlogFlushTimeout
- @Deprecated public void setStateRetrievalLogFlushTimeout(long logFlushTimeout, TimeUnit timeUnit)
FluentConfiguration.StateRetrievalConfig.logFlushTimeout(Long)
instead@Deprecated public void setStateRetrievalMaxNonProgressingLogWrites(int maxNonProgressingLogWrites)
FluentConfiguration.StateRetrievalConfig.maxNonProgressingLogWrites(Integer)
insteadmaxNonProgressingLogWrites
- @Deprecated public void setStateRetrievalChunkSize(int chunkSize)
FluentConfiguration.StateRetrievalConfig.chunkSize(Integer)
insteadchunkSize
- @Deprecated public void setStateRetrievalInitialRetryWaitTime(long initialRetryWaitTime)
FluentConfiguration.StateRetrievalConfig.initialRetryWaitTime(Long)
insteadinitialRetryWaitTime
- @Deprecated public void setStateRetrievalInitialRetryWaitTime(long initialRetryWaitTime, TimeUnit timeUnit)
FluentConfiguration.StateRetrievalConfig.initialRetryWaitTime(Long)
instead@Deprecated public void setStateRetrievalRetryWaitTimeIncreaseFactor(int retryWaitTimeIncreaseFactor)
FluentConfiguration.StateRetrievalConfig.retryWaitTimeIncreaseFactor(Integer)
insteadretryWaitTimeIncreaseFactor
- @Deprecated public void setStateRetrievalNumRetries(int numRetries)
FluentConfiguration.StateRetrievalConfig.numRetries(Integer)
insteadnumRetries
- @Deprecated public void setIsolationLevel(String isolationLevel)
FluentConfiguration.LockingConfig.isolationLevel(org.infinispan.util.concurrent.IsolationLevel)
instead@Deprecated public void setUseLazyDeserialization(boolean useLazyDeserialization)
AbstractFluentConfigurationBean.storeAsBinary()
instead@Deprecated public void setL1CacheEnabled(boolean l1CacheEnabled)
AbstractFluentConfigurationBean.l1()
insteadl1CacheEnabled
- @Deprecated public void setL1Lifespan(long l1Lifespan)
FluentConfiguration.L1Config.lifespan(Long)
insteadl1Lifespan
- @Deprecated public void setL1OnRehash(boolean l1OnRehash)
FluentConfiguration.L1Config.onRehash(Boolean)
insteadl1OnRehash
- @Deprecated public void setL1InvalidationThreshold(int threshold)
FluentConfiguration.L1Config.invalidationThreshold(Integer)
insteadDetermines 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 int getL1InvalidationThreshold()
@Deprecated public void setConsistentHashClass(String consistentHashClass)
HashConfigurationBuilder.consistentHashFactory(org.infinispan.distribution.ch.ConsistentHashFactory)
instead.@Deprecated public void setHashFunctionClass(String hashFunctionClass)
FluentConfiguration.HashConfig.hashFunctionClass(Class)
insteadConsistentHash
implementations shipped.hashFunctionClass
- @Deprecated public void setNumOwners(int numOwners)
FluentConfiguration.HashConfig.numOwners(Integer)
insteadnumOwners
- @Deprecated public void setRehashEnabled(boolean rehashEnabled)
FluentConfiguration.HashConfig.rehashEnabled(Boolean)
insteadrehashEnabled
- @Deprecated public void setRehashWaitTime(long rehashWaitTime)
FluentConfiguration.HashConfig.rehashWait(Long)
instead@Deprecated public void setUseAsyncMarshalling(boolean useAsyncMarshalling)
FluentConfiguration.AsyncConfig.asyncMarshalling(Boolean)
insteaduseAsyncMarshalling
- @Deprecated public void setIndexingEnabled(boolean enabled)
AbstractFluentConfigurationBean.indexing()
insteadenabled
- @Deprecated public void setIndexLocalOnly(boolean indexLocalOnly)
FluentConfiguration.IndexingConfig.indexLocalOnly(Boolean)
insteadindexLocalOnly
- public boolean isUseAsyncMarshalling()
public boolean isUseReplQueue()
public int getReplQueueMaxElements()
public long getReplQueueInterval()
public String getReplQueueClass()
public boolean isExposeJmxStatistics()
public boolean isInvocationBatchingEnabled()
public boolean isIndexingEnabled()
public boolean isIndexLocalOnly()
public TypedProperties getIndexingProperties()
public boolean isFetchInMemoryState()
public boolean isAlwaysProvideInMemoryState()
@Deprecated public boolean isEagerLockingSingleNodeInUse()
isUseEagerLocking()
, isEagerLockSingleNode()
and the cache is
distributed.public long getLockAcquisitionTimeout()
public long getSyncReplTimeout()
public Configuration.CacheMode getCacheMode()
public LockingMode getTransactionLockingMode()
LockingMode
public TransactionMode getTransactionMode()
TransactionMode.NON_TRANSACTIONAL
TransactionMode
public boolean isTransactionAutoCommit()
isTransactionalCache()
== true) and transactionAutoCommit is enabled
then for single operation transactions the user doesn't need to manually start a transaction, but a transactions
is injected by the system. Defaults to true.public boolean isUse1PcForAutoCommitTransactions()
isTransactionAutoCommit()
) to complete with 1 RPC
instead of 2 RPCs (which is default).
isSyncCommitPhase()
.
public IsolationLevel getIsolationLevel()
public String getTransactionManagerLookupClass()
public TransactionManagerLookup getTransactionManagerLookup()
public TransactionSynchronizationRegistryLookup getTransactionSynchronizationRegistryLookup()
@Deprecated public CacheLoaderManagerConfig getCacheLoaderManagerConfig()
getCacheLoaders()
, isCacheLoaderShared()
isFetchPersistentState()
, isCacheLoaderPassivation()
and isCacheLoaderPreload()
insteadpublic List<CacheLoaderConfig> getCacheLoaders()
public boolean isCacheLoaderShared()
public boolean isFetchPersistentState()
public boolean isCacheLoaderPassivation()
public boolean isCacheLoaderPreload()
public boolean isSyncCommitPhase()
public boolean isSyncRollbackPhase()
public boolean isSecondPhaseAsync()
@Deprecated public boolean isUseEagerLocking()
getTransactionLockingMode()
@Deprecated public boolean isEagerLockSingleNode()
public int getCacheStopTimeout()
public long getStateRetrievalTimeout()
public long getStateRetrievalInitialRetryWaitTime()
public int getStateRetrievalRetryWaitTimeIncreaseFactor()
public int getStateRetrievalNumRetries()
public int getStateRetrievalMaxNonProgressingLogWrites()
public int getStateRetrievalChunkSize()
public long getStateRetrievalLogFlushTimeout()
@Deprecated public boolean isUseLazyDeserialization()
isStoreAsBinary()
public boolean isStoreAsBinary()
public boolean isL1CacheEnabled()
public boolean isL1CacheActivated()
public long getL1Lifespan()
public boolean isL1OnRehash()
@Deprecated public String getConsistentHashClass()
HashConfigurationBuilder.consistentHashFactory(org.infinispan.distribution.ch.ConsistentHashFactory)
instead.@Deprecated public boolean isCustomConsistentHashClass()
getConsistentHashClass()
is not used.public boolean isCustomHashFunctionClass()
public String getHashFunctionClass()
public int getNumOwners()
public int getNumVirtualNodes()
public boolean isGroupsEnabled()
public boolean isRehashEnabled()
public long getRehashWaitTime()
public boolean isTransactionRecoveryEnabled()
public String getTransactionRecoveryCacheName()
public boolean isUseSynchronizationForTransactions()
Synchronization
. If disabled
(default) then Infinispan enlists as an XAResource
, being able to fully participate
in distributed transaction. More about this here.public void accept(ConfigurationBeanVisitor v)
public boolean equals(Object o)
equalsIgnoreName(Object)
for equality that does not consider the name of the configuration.public boolean equalsIgnoreName(Object o)
equals(Object)
but it ignores the getName()
attribute in the comparison.public Configuration clone()
clone
in interface CloneableConfigurationComponent
clone
in class AbstractNamedCacheConfigurationBean
public String toXmlString()
public boolean isUsingCacheLoaders()
public List<CustomInterceptorConfig> getCustomInterceptors()
CustomInterceptorConfig
, if any, associated with this configuration
object. The custom interceptors will be added to the cache at startup in the sequence defined by this list.public boolean isStoreKeysAsBinary()
public boolean isStoreValuesAsBinary()
@Deprecated public void setCustomInterceptors(List<CustomInterceptorConfig> customInterceptors)
public void assertValid() throws ConfigurationException
ConfigurationException
public boolean isOnePhaseCommit()
public boolean isTransactionalCache()
- a transactionManagerLookup is configured for the cache - batching is enabled - it is explicitly marked as transactional: config.fluent().transaction().transactionMode(TransactionMode.TRANSACTIONAL). In this last case a transactionManagerLookup needs to be explicitly setBy default a cache is not transactional.
isTransactionAutoCommit()
public boolean isExpirationReaperEnabled()
public boolean isHashActivated()
public long getL1InvalidationCleanupTaskFrequency()
public void setL1InvalidationCleanupTaskFrequency(long frequencyMillis)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.