@Deprecated public static class Configuration.TransactionType extends AbstractNamedCacheConfigurationBean implements FluentConfiguration.TransactionConfig
| Modifier and Type | Field and Description |
|---|---|
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.
|
croverriddenConfigurationElements| Constructor and Description |
|---|
Configuration.TransactionType()
Deprecated.
|
Configuration.TransactionType(String transactionManagerLookupClass)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
hasComponentStarted, injecttestImmutability, toTypedProperties, toTypedProperties, ucprotected String transactionManagerLookupClass
protected TransactionManagerLookup transactionManagerLookup
protected TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup
protected Boolean useSynchronization
protected LockingMode lockingMode
protected TransactionMode transactionMode
protected Boolean autoCommit
protected Configuration.RecoveryType recovery
public Configuration.TransactionType(String transactionManagerLookupClass)
public Configuration.TransactionType()
public void accept(ConfigurationBeanVisitor v)
public String getTransactionManagerLookupClass()
public FluentConfiguration.TransactionConfig transactionMode(TransactionMode txMode)
FluentConfiguration.TransactionConfigtransactionMode in interface FluentConfiguration.TransactionConfigTransactionMode@Deprecated public void setTransactionManagerLookupClass(String transactionManagerLookupClass)
transactionManagerLookupClass(Class) insteadpublic 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) insteadpublic 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.TransactionConfiglockingMode 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) insteadpublic FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
FluentConfiguration.TransactionConfigsyncRollbackPhase in interface FluentConfiguration.TransactionConfigpublic Boolean isUseEagerLocking()
@Deprecated public void setUseEagerLocking(Boolean useEagerLocking)
useEagerLocking(Boolean) insteadpublic FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
FluentConfiguration.TransactionConfiguseEagerLocking in interface FluentConfiguration.TransactionConfigConfiguration.getTransactionLockingMode()public FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
FluentConfiguration.TransactionConfigtransactionManagerLookup in interface FluentConfiguration.TransactionConfigtransactionManagerLookup - instance to use as lookuppublic FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
FluentConfiguration.TransactionConfigtransactionSynchronizationRegistryLookup in interface FluentConfiguration.TransactionConfigtransactionSynchronizationRegistryLookup - instance to use as lookuppublic TransactionSynchronizationRegistryLookup getTransactionSynchronizationRegistryLookup()
public Boolean isEagerLockSingleNode()
@Deprecated public FluentConfiguration.TransactionConfig setEagerLockSingleNode(Boolean eagerLockSingleNode)
eagerLockSingleNode(Boolean) insteadpublic FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
FluentConfiguration.TransactionConfigeagerLockSingleNode in interface FluentConfiguration.TransactionConfigpublic Integer getCacheStopTimeout()
@Deprecated public void setCacheStopTimeout(Integer cacheStopTimeout)
cacheStopTimeout(Integer) insteadpublic FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
FluentConfiguration.TransactionConfigcacheStopTimeout 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 void willUnmarshall(Object parent)
JAXBUnmarshallablewillUnmarshall in interface JAXBUnmarshallablewillUnmarshall in class AbstractConfigurationBeanparent - parent componentpublic 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()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.