org.infinispan.config
Class Configuration.CustomInterceptorPositionType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.Configuration.CustomInterceptorPositionType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, FluentConfiguration.CustomInterceptorPosition, JAXBUnmarshallable
- Enclosing class:
- Configuration
public static class Configuration.CustomInterceptorPositionType
- extends AbstractNamedCacheConfigurationBean
- implements FluentConfiguration.CustomInterceptorPosition
- See Also:
- Serialized Form
Configuration.CustomInterceptorPositionType
public Configuration.CustomInterceptorPositionType(CommandInterceptor interceptor,
Configuration.CustomInterceptorsType type)
first
public FluentConfiguration.CustomInterceptorsConfig first()
- Specified by:
first
in interface FluentConfiguration.CustomInterceptorPosition
last
public FluentConfiguration.CustomInterceptorsConfig last()
- Specified by:
last
in interface FluentConfiguration.CustomInterceptorPosition
atIndex
public FluentConfiguration.CustomInterceptorsConfig atIndex(int index)
- Specified by:
atIndex
in interface FluentConfiguration.CustomInterceptorPosition
after
public FluentConfiguration.CustomInterceptorsConfig after(Class<? extends CommandInterceptor> interceptorClass)
- Specified by:
after
in interface FluentConfiguration.CustomInterceptorPosition
before
public FluentConfiguration.CustomInterceptorsConfig before(Class<? extends CommandInterceptor> interceptorClass)
- Specified by:
before
in interface FluentConfiguration.CustomInterceptorPosition
locking
public FluentConfiguration.LockingConfig locking()
loaders
public FluentConfiguration.LoadersConfig loaders()
transaction
public FluentConfiguration.TransactionConfig transaction()
deadlockDetection
public FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
- This method allows configuration of the deadlock detection. When this
method is called, it automatically enables deadlock detection. So, if
you want it to be disabled, make sure you call
FluentConfiguration.DeadlockDetectionConfig.disable()
customInterceptors
public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
eviction
public FluentConfiguration.EvictionConfig eviction()
expiration
public FluentConfiguration.ExpirationConfig expiration()
clustering
public FluentConfiguration.ClusteringConfig clustering()
indexing
public FluentConfiguration.IndexingConfig indexing()
- This method allows configuration of the indexing subsystem. When
this method is called, it automatically enables indexing. So, if you
want it to be disabled, make sure you call
FluentConfiguration.IndexingConfig.disable()
dataContainer
public FluentConfiguration.DataContainerConfig dataContainer()
unsafe
public FluentConfiguration.UnsafeConfig unsafe()
jmxStatistics
public FluentConfiguration.JmxStatisticsConfig jmxStatistics()
- This method allows configuration of jmx statistics. When this method is
called, it automatically enables jmx statistics.
storeAsBinary
public FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
- This method allows configuration of lazy deserialization. When this
method is called, it automatically enables lazy deserialization.
invocationBatching
public FluentConfiguration.InvocationBatchingConfig invocationBatching()
- This method allows configuration of invocation batching. When
this method is called, it automatically enables invocation batching.
async
public FluentConfiguration.AsyncConfig async()
sync
public FluentConfiguration.SyncConfig sync()
stateRetrieval
public FluentConfiguration.StateRetrievalConfig stateRetrieval()
l1
public FluentConfiguration.L1Config l1()
hash
public FluentConfiguration.HashConfig hash()
mode
public FluentConfiguration.ClusteringConfig mode(Configuration.CacheMode mode)
transactionManagerLookupClass
public FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
transactionManagerLookup
public FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
transactionSynchronizationRegistryLookup
public FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
syncCommitPhase
public FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
syncRollbackPhase
public FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
useEagerLocking
public FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
eagerLockSingleNode
public FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
cacheStopTimeout
public FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
useSynchronization
public FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
recovery
public FluentConfiguration.RecoveryConfig recovery()
build
public Configuration build()
setConfiguration
protected org.infinispan.config.AbstractFluentConfigurationBean setConfiguration(Configuration config)
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.