|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.Configuration
public class Configuration
Encapsulates the configuration of a Cache.
A default instance of this bean takes default values for each attribute. Please see the individual setters for details of what these defaults are.
Nested Class Summary | |
---|---|
static class |
Configuration.AsyncType
|
static class |
Configuration.BooleanAttributeType
|
static class |
Configuration.CacheMode
Cache replication mode. |
static class |
Configuration.ClusteringType
|
static class |
Configuration.ClusteringTypeAdapter
|
static class |
Configuration.CustomInterceptorsType
|
static class |
Configuration.DeadlockDetectionType
|
static class |
Configuration.EvictionType
|
static class |
Configuration.ExpirationType
|
static class |
Configuration.HashType
|
static class |
Configuration.InvocationBatching
|
static class |
Configuration.JmxStatistics
|
static class |
Configuration.L1Type
|
static class |
Configuration.LazyDeserialization
|
static class |
Configuration.LockingType
|
static class |
Configuration.QueryConfigurationBean
|
static class |
Configuration.StateRetrievalType
|
static class |
Configuration.SyncType
|
static class |
Configuration.TransactionType
|
static class |
Configuration.UnsafeType
|
Field Summary | |
---|---|
protected String |
name
|
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
cr |
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
EMPTY_PROPERTIES, log, overriddenConfigurationElements |
Constructor Summary | |
---|---|
Configuration()
|
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
hasComponentStarted |
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
Constructor Detail |
---|
public Configuration()
Method Detail |
---|
public void applyOverrides(Configuration overrides)
public void inject(ComponentRegistry cr)
inject
in class AbstractNamedCacheConfigurationBean
@Deprecated public GlobalConfiguration getGlobalConfiguration()
EmbeddedCacheManager.getGlobalConfiguration()
public void setGlobalConfiguration(GlobalConfiguration gc)
public String getName()
public boolean isStateTransferEnabled()
public long getDeadlockDetectionSpinDuration()
public void setDeadlockDetectionSpinDuration(long eagerDeadlockSpinDuration)
public boolean isEnableDeadlockDetection()
public void setEnableDeadlockDetection(boolean useEagerDeadlockDetection)
public void setUseLockStriping(boolean useLockStriping)
public boolean isUseLockStriping()
public boolean isUnsafeUnreliableReturnValues()
public void setUnsafeUnreliableReturnValues(boolean unsafeUnreliableReturnValues)
public void setRehashRpcTimeout(long rehashRpcTimeout)
public long getRehashRpcTimeout()
public boolean isWriteSkewCheck()
public void setWriteSkewCheck(boolean writeSkewCheck)
public int getConcurrencyLevel()
public void setConcurrencyLevel(int concurrencyLevel)
public void setReplQueueMaxElements(int replQueueMaxElements)
public void setReplQueueInterval(long replQueueInterval)
public void setReplQueueInterval(long replQueueInterval, TimeUnit timeUnit)
public void setExposeJmxStatistics(boolean useMbean)
public void setInvocationBatchingEnabled(boolean enabled)
Cache.startBatch()
and Cache.endBatch(boolean)
to demarcate the start and
end of batches.
enabled
- if true, batching is enabled.public void setFetchInMemoryState(boolean fetchInMemoryState)
public void setAlwaysProvideInMemoryState(boolean alwaysProvideInMemoryState)
public void setLockAcquisitionTimeout(long lockAcquisitionTimeout)
public void setLockAcquisitionTimeout(long lockAcquisitionTimeout, TimeUnit timeUnit)
public void setSyncReplTimeout(long syncReplTimeout)
public void setSyncReplTimeout(long syncReplTimeout, TimeUnit timeUnit)
public void setCacheMode(Configuration.CacheMode cacheModeInt)
public void setCacheMode(String cacheMode)
public String getCacheModeString()
public void setCacheModeString(String cacheMode)
public long getEvictionWakeUpInterval()
public void setEvictionWakeUpInterval(long evictionWakeUpInterval)
public EvictionStrategy getEvictionStrategy()
public void setEvictionStrategy(EvictionStrategy evictionStrategy)
public void setEvictionStrategy(String eStrategy)
public EvictionThreadPolicy getEvictionThreadPolicy()
public void setEvictionThreadPolicy(EvictionThreadPolicy policy)
public void setEvictionThreadPolicy(String policy)
public int getEvictionMaxEntries()
public void setEvictionMaxEntries(int evictionMaxEntries)
public long getExpirationLifespan()
public void setExpirationLifespan(long expirationLifespan)
public long getExpirationMaxIdle()
public void setExpirationMaxIdle(long expirationMaxIdle)
public void setTransactionManagerLookupClass(String transactionManagerLookupClass)
public void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
public void setCacheLoaderManagerConfig(CacheLoaderManagerConfig cacheLoaderManagerConfig)
public void setSyncCommitPhase(boolean syncCommitPhase)
public void setSyncRollbackPhase(boolean syncRollbackPhase)
public void setUseEagerLocking(boolean useEagerLocking)
public void setUseReplQueue(boolean useReplQueue)
public void setIsolationLevel(IsolationLevel isolationLevel)
public void setStateRetrievalTimeout(long stateRetrievalTimeout)
public void setStateRetrievalTimeout(long stateRetrievalTimeout, TimeUnit timeUnit)
public void setStateRetrievalInitialRetryWaitTime(long initialRetryWaitTime)
public void setStateRetrievalInitialRetryWaitTime(long initialRetryWaitTime, TimeUnit timeUnit)
public void setStateRetrievalRetryWaitTimeIncreaseFactor(int retryWaitTimeIncreaseFactor)
public void setStateRetrievalNumRetries(int numRetries)
public void setIsolationLevel(String isolationLevel)
public void setUseLazyDeserialization(boolean useLazyDeserialization)
public void setL1CacheEnabled(boolean l1CacheEnabled)
public void setL1Lifespan(long l1Lifespan)
public void setL1OnRehash(boolean l1OnRehash)
public void setConsistentHashClass(String consistentHashClass)
public void setNumOwners(int numOwners)
public void setRehashEnabled(boolean rehashEnabled)
public void setRehashWaitTime(long rehashWaitTime)
public void setUseAsyncMarshalling(boolean useAsyncMarshalling)
public void setIndexingEnabled(boolean enabled)
public void setIndexLocalOnly(boolean indexLocalOnly)
public boolean isUseAsyncMarshalling()
public boolean isUseReplQueue()
public int getReplQueueMaxElements()
public long getReplQueueInterval()
public boolean isExposeJmxStatistics()
public boolean isInvocationBatchingEnabled()
public boolean isIndexingEnabled()
public boolean isIndexLocalOnly()
public boolean isFetchInMemoryState()
public boolean isAlwaysProvideInMemoryState()
public long getLockAcquisitionTimeout()
public long getSyncReplTimeout()
public Configuration.CacheMode getCacheMode()
public IsolationLevel getIsolationLevel()
public String getTransactionManagerLookupClass()
public TransactionManagerLookup getTransactionManagerLookup()
public CacheLoaderManagerConfig getCacheLoaderManagerConfig()
public boolean isSyncCommitPhase()
public boolean isSyncRollbackPhase()
public boolean isUseEagerLocking()
public long getStateRetrievalTimeout()
public long getStateRetrievalInitialRetryWaitTime()
public int getStateRetrievalRetryWaitTimeIncreaseFactor()
public int getStateRetrievalNumRetries()
public boolean isUseLazyDeserialization()
public boolean isL1CacheEnabled()
public long getL1Lifespan()
public boolean isL1OnRehash()
public String getConsistentHashClass()
public int getNumOwners()
public boolean isRehashEnabled()
public long getRehashWaitTime()
public void accept(ConfigurationBeanVisitor v)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Configuration clone()
clone
in interface CloneableConfigurationComponent
clone
in class AbstractNamedCacheConfigurationBean
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 void setCustomInterceptors(List<CustomInterceptorConfig> customInterceptors)
getCustomInterceptors()
public void assertValid() throws ConfigurationException
ConfigurationException
public boolean isOnePhaseCommit()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |