org.infinispan.spring
Class ConfigurationOverrides

java.lang.Object
  extended by org.infinispan.spring.ConfigurationOverrides

public final class ConfigurationOverrides
extends Object

Helper class to override select values in an Infinispan Configuration.

Author:
Olaf Bergner

Constructor Summary
ConfigurationOverrides()
           
 
Method Summary
 void applyOverridesTo(ConfigurationBuilder configurationToOverride)
           
 void setAlwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
           
 void setCacheLoaderManagerConfig(CacheLoaderManagerConfig cacheLoaderManagerConfig)
           
 void setCacheModeString(String cacheModeString)
           
 void setConcurrencyLevel(Integer concurrencyLevel)
           
 void setConsistentHashClass(String consistentHashClass)
           
 void setCustomInterceptors(List<CustomInterceptorConfig> customInterceptors)
           
 void setDeadlockDetectionSpinDuration(Long eagerDeadlockSpinDuration)
           
 void setEagerLockSingleNode(Boolean eagerLockSingleNode)
          Deprecated. 
 void setEnableDeadlockDetection(Boolean useEagerDeadlockDetection)
           
 void setEvictionMaxEntries(Integer evictionMaxEntries)
           
 void setEvictionStrategy(EvictionStrategy evictionStrategy)
           
 void setEvictionStrategyClass(String evictionStrategyClass)
           
 void setEvictionThreadPolicy(EvictionThreadPolicy evictionThreadPolicy)
           
 void setEvictionThreadPolicyClass(String evictionThreadPolicyClass)
           
 void setExpirationLifespan(Long expirationLifespan)
           
 void setExpirationMaxIdle(Long expirationMaxIdle)
           
 void setExpirationWakeUpInterval(Long expirationWakeUpInterval)
           
 void setExposeJmxStatistics(Boolean exposeJmxStatistics)
           
 void setFetchInMemoryState(Boolean fetchInMemoryState)
           
 void setIndexingEnabled(Boolean indexingEnabled)
           
 void setIndexLocalOnly(Boolean indexLocalOnly)
           
 void setInvocationBatchingEnabled(Boolean invocationBatchingEnabled)
           
 void setIsolationLevel(IsolationLevel isolationLevel)
           
 void setIsolationLevelClass(String isolationLevelClass)
           
 void setL1CacheEnabled(Boolean l1CacheEnabled)
           
 void setL1Lifespan(Long l1Lifespan)
           
 void setL1OnRehash(Boolean l1OnRehash)
           
 void setLockAcquisitionTimeout(Long lockAcquisitionTimeout)
           
 void setNumOwners(Integer numOwners)
           
 void setRehashEnabled(Boolean rehashEnabled)
           
 void setRehashRpcTimeout(Long rehashRpcTimeout)
           
 void setRehashWaitTime(Long rehashWaitTime)
           
 void setReplQueueClass(String replQueueClass)
           
 void setReplQueueInterval(Long replQueueInterval)
           
 void setReplQueueMaxElements(Integer replQueueMaxElements)
           
 void setStateRetrievalChunkSize(Integer stateRetrievalChunkSize)
           
 void setStateRetrievalInitialRetryWaitTime(Long stateRetrievalInitialRetryWaitTime)
           
 void setStateRetrievalMaxNonProgressingLogWrites(Integer stateRetrievalMaxNonProgressingLogWrites)
           
 void setStateRetrievalTimeout(Long stateRetrievalTimeout)
           
 void setSyncCommitPhase(Boolean syncCommitPhase)
           
 void setSyncReplTimeout(Long syncReplTimeout)
           
 void setSyncRollbackPhase(Boolean syncRollbackPhase)
           
 void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
           
 void setTransactionManagerLookupClass(String transactionManagerLookupClass)
           
 void setUnsafeUnreliableReturnValues(Boolean unsafeUnreliableReturnValues)
           
 void setUseAsyncMarshalling(Boolean useAsyncMarshalling)
           
 void setUseEagerLocking(Boolean useEagerLocking)
           
 void setUseLazyDeserialization(Boolean useLazyDeserialization)
           
 void setUseLockStriping(Boolean useLockStriping)
           
 void setUseReplQueue(Boolean useReplQueue)
           
 void setWriteSkewCheck(Boolean writeSkewCheck)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationOverrides

public ConfigurationOverrides()
Method Detail

setDeadlockDetectionSpinDuration

public void setDeadlockDetectionSpinDuration(Long eagerDeadlockSpinDuration)
Parameters:
eagerDeadlockSpinDuration - the eagerDeadlockSpinDuration to set

setEnableDeadlockDetection

public void setEnableDeadlockDetection(Boolean useEagerDeadlockDetection)
Parameters:
useEagerDeadlockDetection - the useEagerDeadlockDetection to set

setUseLockStriping

public void setUseLockStriping(Boolean useLockStriping)
Parameters:
useLockStriping - the useLockStriping to set

setUnsafeUnreliableReturnValues

public void setUnsafeUnreliableReturnValues(Boolean unsafeUnreliableReturnValues)
Parameters:
unsafeUnreliableReturnValues - the unsafeUnreliableReturnValues to set

setRehashRpcTimeout

public void setRehashRpcTimeout(Long rehashRpcTimeout)
Parameters:
rehashRpcTimeout - the rehashRpcTimeout to set

setWriteSkewCheck

public void setWriteSkewCheck(Boolean writeSkewCheck)
Parameters:
writeSkewCheck - the writeSkewCheck to set

setConcurrencyLevel

public void setConcurrencyLevel(Integer concurrencyLevel)
Parameters:
concurrencyLevel - the concurrencyLevel to set

setReplQueueMaxElements

public void setReplQueueMaxElements(Integer replQueueMaxElements)
Parameters:
replQueueMaxElements - the replQueueMaxElements to set

setReplQueueInterval

public void setReplQueueInterval(Long replQueueInterval)
Parameters:
replQueueInterval - the replQueueInterval to set

setReplQueueClass

public void setReplQueueClass(String replQueueClass)
Parameters:
replQueueClass - the replQueueClass to set

setExposeJmxStatistics

public void setExposeJmxStatistics(Boolean exposeJmxStatistics)
Parameters:
exposeJmxStatistics - the exposeJmxStatistics to set

setInvocationBatchingEnabled

public void setInvocationBatchingEnabled(Boolean invocationBatchingEnabled)
Parameters:
invocationBatchingEnabled - the invocationBatchingEnabled to set

setFetchInMemoryState

public void setFetchInMemoryState(Boolean fetchInMemoryState)
Parameters:
fetchInMemoryState - the fetchInMemoryState to set

setAlwaysProvideInMemoryState

public void setAlwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
Parameters:
alwaysProvideInMemoryState - the alwaysProvideInMemoryState to set

setLockAcquisitionTimeout

public void setLockAcquisitionTimeout(Long lockAcquisitionTimeout)
Parameters:
lockAcquisitionTimeout - the lockAcquisitionTimeout to set

setSyncReplTimeout

public void setSyncReplTimeout(Long syncReplTimeout)
Parameters:
syncReplTimeout - the syncReplTimeout to set

setCacheModeString

public void setCacheModeString(String cacheModeString)
Parameters:
cacheModeString - the cacheModeString to set

setExpirationWakeUpInterval

public void setExpirationWakeUpInterval(Long expirationWakeUpInterval)
Parameters:
expirationWakeUpInterval - the expiration expirationWakeUpInterval to set

setEvictionStrategy

public void setEvictionStrategy(EvictionStrategy evictionStrategy)
Parameters:
evictionStrategy - the evictionStrategy to set

setEvictionStrategyClass

public void setEvictionStrategyClass(String evictionStrategyClass)
Parameters:
evictionStrategyClass - the evictionStrategyClass to set

setEvictionThreadPolicy

public void setEvictionThreadPolicy(EvictionThreadPolicy evictionThreadPolicy)
Parameters:
evictionThreadPolicy - the evictionThreadPolicy to set

setEvictionThreadPolicyClass

public void setEvictionThreadPolicyClass(String evictionThreadPolicyClass)
Parameters:
evictionThreadPolicyClass - the evictionThreadPolicyClass to set

setEvictionMaxEntries

public void setEvictionMaxEntries(Integer evictionMaxEntries)
Parameters:
evictionMaxEntries - the evictionMaxEntries to set

setExpirationLifespan

public void setExpirationLifespan(Long expirationLifespan)
Parameters:
expirationLifespan - the expirationLifespan to set

setExpirationMaxIdle

public void setExpirationMaxIdle(Long expirationMaxIdle)
Parameters:
expirationMaxIdle - the expirationMaxIdle to set

setTransactionManagerLookupClass

public void setTransactionManagerLookupClass(String transactionManagerLookupClass)
Parameters:
transactionManagerLookupClass - the transactionManagerLookupClass to set

setTransactionManagerLookup

public void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
Parameters:
transactionManagerLookup - the transactionManagerLookup to set

setCacheLoaderManagerConfig

public void setCacheLoaderManagerConfig(CacheLoaderManagerConfig cacheLoaderManagerConfig)
Parameters:
cacheLoaderManagerConfig - the cacheLoaderManagerConfig to set

setSyncCommitPhase

public void setSyncCommitPhase(Boolean syncCommitPhase)
Parameters:
syncCommitPhase - the syncCommitPhase to set

setSyncRollbackPhase

public void setSyncRollbackPhase(Boolean syncRollbackPhase)
Parameters:
syncRollbackPhase - the syncRollbackPhase to set

setUseEagerLocking

public void setUseEagerLocking(Boolean useEagerLocking)
Parameters:
useEagerLocking - the useEagerLocking to set

setEagerLockSingleNode

@Deprecated
public void setEagerLockSingleNode(Boolean eagerLockSingleNode)
Deprecated. 

Parameters:
eagerLockSingleNode - the eagerLockSingleNode to set

setUseReplQueue

public void setUseReplQueue(Boolean useReplQueue)
Parameters:
useReplQueue - the useReplQueue to set

setIsolationLevel

public void setIsolationLevel(IsolationLevel isolationLevel)
Parameters:
isolationLevel - the isolationLevel to set

setStateRetrievalTimeout

public void setStateRetrievalTimeout(Long stateRetrievalTimeout)
Parameters:
stateRetrievalTimeout - the stateRetrievalTimeout to set

setStateRetrievalMaxNonProgressingLogWrites

public void setStateRetrievalMaxNonProgressingLogWrites(Integer stateRetrievalMaxNonProgressingLogWrites)
Parameters:
stateRetrievalMaxNonProgressingLogWrites - the stateRetrievalMaxNonProgressingLogWrites to set

setStateRetrievalChunkSize

public void setStateRetrievalChunkSize(Integer stateRetrievalChunkSize)
Parameters:
stateRetrievalChunkSize - the stateRetrievalChunkSize to set

setStateRetrievalInitialRetryWaitTime

public void setStateRetrievalInitialRetryWaitTime(Long stateRetrievalInitialRetryWaitTime)
Parameters:
stateRetrievalInitialRetryWaitTime - the stateRetrievalInitialRetryWaitTime to set

setIsolationLevelClass

public void setIsolationLevelClass(String isolationLevelClass)
Parameters:
isolationLevelClass - the isolationLevelClass to set

setUseLazyDeserialization

public void setUseLazyDeserialization(Boolean useLazyDeserialization)
Parameters:
useLazyDeserialization - the useLazyDeserialization to set

setL1CacheEnabled

public void setL1CacheEnabled(Boolean l1CacheEnabled)
Parameters:
l1CacheEnabled - the l1CacheEnabled to set

setL1Lifespan

public void setL1Lifespan(Long l1Lifespan)
Parameters:
l1Lifespan - the l1Lifespan to set

setL1OnRehash

public void setL1OnRehash(Boolean l1OnRehash)
Parameters:
l1OnRehash - the l1OnRehash to set

setConsistentHashClass

public void setConsistentHashClass(String consistentHashClass)
Parameters:
consistentHashClass - the consistentHashClass to set

setNumOwners

public void setNumOwners(Integer numOwners)
Parameters:
numOwners - the numOwners to set

setRehashEnabled

public void setRehashEnabled(Boolean rehashEnabled)
Parameters:
rehashEnabled - the rehashEnabled to set

setRehashWaitTime

public void setRehashWaitTime(Long rehashWaitTime)
Parameters:
rehashWaitTime - the rehashWaitTime to set

setUseAsyncMarshalling

public void setUseAsyncMarshalling(Boolean useAsyncMarshalling)
Parameters:
useAsyncMarshalling - the useAsyncMarshalling to set

setIndexingEnabled

public void setIndexingEnabled(Boolean indexingEnabled)
Parameters:
indexingEnabled - the indexingEnabled to set

setIndexLocalOnly

public void setIndexLocalOnly(Boolean indexLocalOnly)
Parameters:
indexLocalOnly - the indexLocalOnly to set

setCustomInterceptors

public void setCustomInterceptors(List<CustomInterceptorConfig> customInterceptors)
Parameters:
customInterceptors - the customInterceptors to set

applyOverridesTo

public void applyOverridesTo(ConfigurationBuilder configurationToOverride)

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.