|
||||||||||
| 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.TransactionType
@Deprecated public static class Configuration.TransactionType
Defines transactional (JTA) characteristics of the cache.
| Field Summary | |
|---|---|
protected Boolean |
autoCommit
Deprecated. |
protected Integer |
cacheStopTimeout
Deprecated. |
protected Boolean |
eagerLockSingleNode
Deprecated. |
protected LockingMode |
lockingMode
Deprecated. |
protected Configuration.RecoveryType |
recovery
Deprecated. |
protected Boolean |
syncCommitPhase
Deprecated. |
protected Boolean |
syncRollbackPhase
Deprecated. |
protected TransactionManagerLookup |
transactionManagerLookup
Deprecated. |
protected String |
transactionManagerLookupClass
Deprecated. |
protected TransactionMode |
transactionMode
Deprecated. |
protected TransactionSynchronizationRegistryLookup |
transactionSynchronizationRegistryLookup
Deprecated. |
protected Boolean |
useEagerLocking
Deprecated. |
protected Boolean |
useSynchronization
Deprecated. |
| Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
|---|
cr |
| Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
|---|
overriddenConfigurationElements |
| Constructor Summary | |
|---|---|
Configuration.TransactionType()
Deprecated. |
|
Configuration.TransactionType(String transactionManagerLookupClass)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
accept(ConfigurationBeanVisitor v)
Deprecated. |
FluentConfiguration.AsyncConfig |
async()
Deprecated. |
FluentConfiguration.TransactionConfig |
autoCommit(boolean enabled)
Deprecated. |
Configuration |
build()
Deprecated. |
Configuration |
build()
Deprecated. |
FluentConfiguration.TransactionConfig |
cacheStopTimeout(Integer cacheStopTimeout)
Deprecated. If there are any ongoing transactions when a cache is stopped, Infinispan waits for ongoing remote and local transactions to finish. |
Configuration.TransactionType |
clone()
Deprecated. |
FluentConfiguration.ClusteringConfig |
clustering()
Deprecated. |
FluentConfiguration.ClusteringConfig |
clustering()
Deprecated. |
FluentConfiguration.CustomInterceptorsConfig |
customInterceptors()
Deprecated. |
FluentConfiguration.CustomInterceptorsConfig |
customInterceptors()
Deprecated. |
FluentConfiguration.DataContainerConfig |
dataContainer()
Deprecated. |
FluentConfiguration.DataContainerConfig |
dataContainer()
Deprecated. |
FluentConfiguration.DeadlockDetectionConfig |
deadlockDetection()
Deprecated. This method allows configuration of the deadlock detection. |
FluentConfiguration.DeadlockDetectionConfig |
deadlockDetection()
Deprecated. This method allows configuration of the deadlock detection. |
FluentConfiguration.TransactionConfig |
eagerLockSingleNode(Boolean eagerLockSingleNode)
Deprecated. Only has effect for DIST mode and when useEagerLocking is set to true. |
boolean |
equals(Object o)
Deprecated. |
FluentConfiguration.EvictionConfig |
eviction()
Deprecated. |
FluentConfiguration.EvictionConfig |
eviction()
Deprecated. |
FluentConfiguration.ExpirationConfig |
expiration()
Deprecated. |
FluentConfiguration.ExpirationConfig |
expiration()
Deprecated. |
Boolean |
getAutoCommit()
Deprecated. |
Integer |
getCacheStopTimeout()
Deprecated. |
LockingMode |
getLockingMode()
Deprecated. |
String |
getTransactionManagerLookupClass()
Deprecated. |
TransactionMode |
getTransactionMode()
Deprecated. |
TransactionSynchronizationRegistryLookup |
getTransactionSynchronizationRegistryLookup()
Deprecated. |
Boolean |
getUse1PcForAutoCommitTransactions()
Deprecated. |
FluentConfiguration.HashConfig |
hash()
Deprecated. |
int |
hashCode()
Deprecated. |
FluentConfiguration.IndexingConfig |
indexing()
Deprecated. This method allows configuration of the indexing subsystem. |
FluentConfiguration.IndexingConfig |
indexing()
Deprecated. This method allows configuration of the indexing subsystem. |
FluentConfiguration.InvocationBatchingConfig |
invocationBatching()
Deprecated. This method allows configuration of invocation batching. |
FluentConfiguration.InvocationBatchingConfig |
invocationBatching()
Deprecated. This method allows configuration of invocation batching. |
Boolean |
isEagerLockSingleNode()
Deprecated. |
Boolean |
isSyncCommitPhase()
Deprecated. |
Boolean |
isSyncRollbackPhase()
Deprecated. |
Boolean |
isUseEagerLocking()
Deprecated. |
Boolean |
isUseSynchronization()
Deprecated. |
FluentConfiguration.JmxStatisticsConfig |
jmxStatistics()
Deprecated. This method allows configuration of jmx statistics. |
FluentConfiguration.JmxStatisticsConfig |
jmxStatistics()
Deprecated. This method allows configuration of jmx statistics. |
FluentConfiguration.L1Config |
l1()
Deprecated. |
FluentConfiguration.LoadersConfig |
loaders()
Deprecated. |
FluentConfiguration.LoadersConfig |
loaders()
Deprecated. |
FluentConfiguration.LockingConfig |
locking()
Deprecated. |
FluentConfiguration.LockingConfig |
locking()
Deprecated. |
FluentConfiguration.TransactionConfig |
lockingMode(LockingMode lockingMode)
Deprecated. Configures whether the cache uses optimistic or pessimistic locking. |
FluentConfiguration.ClusteringConfig |
mode(Configuration.CacheMode mode)
Deprecated. |
FluentConfiguration.RecoveryConfig |
recovery()
Deprecated. This method allows configuration of the transaction recovery cache. |
void |
setCacheStopTimeout(Integer cacheStopTimeout)
Deprecated. The visibility of this will be reduced, use cacheStopTimeout(Integer) instead |
protected Configuration.TransactionType |
setConfiguration(Configuration config)
Deprecated. |
FluentConfiguration.TransactionConfig |
setEagerLockSingleNode(Boolean eagerLockSingleNode)
Deprecated. The visibility of this will be reduced, use eagerLockSingleNode(Boolean) instead |
void |
setLockingMode(LockingMode lockingMode)
Deprecated. |
void |
setSyncCommitPhase(Boolean syncCommitPhase)
Deprecated. The visibility of this will be reduced, use syncCommitPhase(Boolean) instead |
void |
setSyncRollbackPhase(Boolean syncRollbackPhase)
Deprecated. The visibility of this will be reduced, use setSyncRollbackPhase(Boolean) instead |
void |
setTransactionManagerLookupClass(String transactionManagerLookupClass)
Deprecated. The visibility of this will be reduced, use transactionManagerLookupClass(Class) instead |
void |
setTransactionMode(TransactionMode transactionMode)
Deprecated. |
void |
setUse1PcForAutoCommitTransactions(Boolean use1PcForAutoCommitTransactions)
Deprecated. |
void |
setUseEagerLocking(Boolean useEagerLocking)
Deprecated. The visibility of this will be reduced, use useEagerLocking(Boolean) instead |
FluentConfiguration.StateRetrievalConfig |
stateRetrieval()
Deprecated. |
FluentConfiguration.StoreAsBinaryConfig |
storeAsBinary()
Deprecated. This method allows configuration of lazy deserialization. |
FluentConfiguration.StoreAsBinaryConfig |
storeAsBinary()
Deprecated. This method allows configuration of lazy deserialization. |
FluentConfiguration.SyncConfig |
sync()
Deprecated. |
FluentConfiguration.TransactionConfig |
syncCommitPhase(Boolean syncCommitPhase)
Deprecated. Important: enabling this might cause inconsistencies if multiple transactions update the same key concurrently. |
FluentConfiguration.TransactionConfig |
syncRollbackPhase(Boolean syncRollbackPhase)
Deprecated. If true, the cluster-wide rollback phase in two-phase commit (2PC) transactions will be synchronous, so Infinispan will wait for responses from all nodes to which the rollback was sent. |
FluentConfiguration.TransactionConfig |
transaction()
Deprecated. |
FluentConfiguration.TransactionConfig |
transaction()
Deprecated. |
FluentConfiguration.TransactionConfig |
transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
Deprecated. Configure Transaction manager lookup directly using an instance of TransactionManagerLookup. |
FluentConfiguration.TransactionConfig |
transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
Deprecated. Fully qualified class name of a class that looks up a reference to a TransactionManager. |
FluentConfiguration.TransactionConfig |
transactionMode(TransactionMode txMode)
Deprecated. Configures whether the cache is transactional or not. |
FluentConfiguration.TransactionConfig |
transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
Deprecated. Configure Transaction Synchronization Registry lookup directly using an instance of TransactionManagerLookup. |
FluentConfiguration.UnsafeConfig |
unsafe()
Deprecated. |
FluentConfiguration.UnsafeConfig |
unsafe()
Deprecated. |
Configuration.TransactionType |
use1PcForAutoCommitTransactions(boolean b)
Deprecated. Please refer to Configuration.isUse1PcForAutoCommitTransactions(). |
FluentConfiguration.TransactionConfig |
useEagerLocking(Boolean useEagerLocking)
Deprecated. Only has effect for DIST mode and when useEagerLocking is set to true. |
FluentConfiguration.TransactionConfig |
useSynchronization(Boolean useSynchronization)
Deprecated. |
FluentConfiguration.VersioningConfig |
versioning()
Deprecated. |
FluentConfiguration.VersioningConfig |
versioning()
Deprecated. |
void |
willUnmarshall(Object parent)
Deprecated. Indicates that this element is about to be unmarshalled from the XML source that was processed. |
| Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
|---|
hasComponentStarted, inject |
| 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 transactionManagerLookupClass
protected TransactionManagerLookup transactionManagerLookup
protected TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup
@Dynamic protected Boolean syncCommitPhase
@Dynamic protected Boolean syncRollbackPhase
@Dynamic protected Boolean useEagerLocking
protected Boolean useSynchronization
@Dynamic protected Boolean eagerLockSingleNode
@Dynamic protected Integer cacheStopTimeout
protected LockingMode lockingMode
protected TransactionMode transactionMode
protected Boolean autoCommit
protected Configuration.RecoveryType recovery
| Constructor Detail |
|---|
public Configuration.TransactionType(String transactionManagerLookupClass)
public Configuration.TransactionType()
| Method Detail |
|---|
public void accept(ConfigurationBeanVisitor v)
public String getTransactionManagerLookupClass()
public FluentConfiguration.TransactionConfig transactionMode(TransactionMode txMode)
FluentConfiguration.TransactionConfig
transactionMode in interface FluentConfiguration.TransactionConfigTransactionMode@Deprecated public void setTransactionManagerLookupClass(String transactionManagerLookupClass)
transactionManagerLookupClass(Class) instead
public FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
FluentConfiguration.TransactionConfigTransactionManager. The default provided is capable of locating
the default TransactionManager in most popular Java EE systems, using a JNDI lookup.
transactionManagerLookupClass in interface FluentConfiguration.TransactionConfigpublic Boolean isSyncCommitPhase()
public Boolean getUse1PcForAutoCommitTransactions()
public void setUse1PcForAutoCommitTransactions(Boolean use1PcForAutoCommitTransactions)
@Deprecated public void setSyncCommitPhase(Boolean syncCommitPhase)
syncCommitPhase(Boolean) instead
public FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
Configuration.isSyncCommitPhase() for more details.
syncCommitPhase in interface FluentConfiguration.TransactionConfigpublic FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
useSynchronization in interface FluentConfiguration.TransactionConfigpublic FluentConfiguration.TransactionConfig lockingMode(LockingMode lockingMode)
FluentConfiguration.TransactionConfig
lockingMode in interface FluentConfiguration.TransactionConfigConfiguration.isTransactionalCache()public FluentConfiguration.TransactionConfig autoCommit(boolean enabled)
autoCommit in interface FluentConfiguration.TransactionConfigConfiguration.isTransactionAutoCommit().public Configuration.TransactionType use1PcForAutoCommitTransactions(boolean b)
Configuration.isUse1PcForAutoCommitTransactions().
use1PcForAutoCommitTransactions in interface FluentConfiguration.TransactionConfigpublic Boolean isUseSynchronization()
public Boolean isSyncRollbackPhase()
@Deprecated public void setSyncRollbackPhase(Boolean syncRollbackPhase)
setSyncRollbackPhase(Boolean) instead
public FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
FluentConfiguration.TransactionConfig
syncRollbackPhase in interface FluentConfiguration.TransactionConfigpublic Boolean isUseEagerLocking()
@Deprecated public void setUseEagerLocking(Boolean useEagerLocking)
useEagerLocking(Boolean) instead
public FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
FluentConfiguration.TransactionConfig
useEagerLocking in interface FluentConfiguration.TransactionConfigConfiguration.getTransactionLockingMode()public FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
FluentConfiguration.TransactionConfig
transactionManagerLookup in interface FluentConfiguration.TransactionConfigtransactionManagerLookup - instance to use as lookup
public FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
FluentConfiguration.TransactionConfig
transactionSynchronizationRegistryLookup in interface FluentConfiguration.TransactionConfigtransactionSynchronizationRegistryLookup - instance to use as lookup
public TransactionSynchronizationRegistryLookup getTransactionSynchronizationRegistryLookup()
public Boolean isEagerLockSingleNode()
@Deprecated public FluentConfiguration.TransactionConfig setEagerLockSingleNode(Boolean eagerLockSingleNode)
eagerLockSingleNode(Boolean) instead
public FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
FluentConfiguration.TransactionConfig
eagerLockSingleNode in interface FluentConfiguration.TransactionConfigpublic Integer getCacheStopTimeout()
@Deprecated public void setCacheStopTimeout(Integer cacheStopTimeout)
cacheStopTimeout(Integer) instead
public FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
FluentConfiguration.TransactionConfig
cacheStopTimeout in interface FluentConfiguration.TransactionConfigpublic FluentConfiguration.RecoveryConfig recovery()
FluentConfiguration.TransactionConfigFluentConfiguration.RecoveryConfig.disable()
recovery in interface FluentConfiguration.TransactionConfigprotected Configuration.TransactionType setConfiguration(Configuration config)
public TransactionMode getTransactionMode()
public void setTransactionMode(TransactionMode transactionMode)
public LockingMode getLockingMode()
public void setLockingMode(LockingMode lockingMode)
public Boolean getAutoCommit()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void willUnmarshall(Object parent)
JAXBUnmarshallable
willUnmarshall in interface JAXBUnmarshallablewillUnmarshall in class AbstractConfigurationBeanparent - parent component
public Configuration.TransactionType clone()
throws CloneNotSupportedException
clone in interface CloneableConfigurationComponentclone in class AbstractNamedCacheConfigurationBeanCloneNotSupportedExceptionpublic 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 Configuration build()
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||