Class TransactionConfigurationBuilder
java.lang.Object
org.infinispan.client.hotrod.configuration.AbstractConfigurationChildBuilder
org.infinispan.client.hotrod.configuration.TransactionConfigurationBuilder
- All Implemented Interfaces:
ConfigurationChildBuilder,org.infinispan.commons.configuration.Builder<TransactionConfiguration>
@Deprecated(forRemoval=true)
public class TransactionConfigurationBuilder
extends AbstractConfigurationChildBuilder
implements org.infinispan.commons.configuration.Builder<TransactionConfiguration>
Deprecated, for removal: This API element is subject to removal in a future version.
since 12.0. To be removed in Infinispan 14.
Configures a transactional
RemoteCache.- Since:
- 9.3
- Author:
- Pedro Ruivo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.configuration.attributes.AttributeSetDeprecated, for removal: This API element is subject to removal in a future version.create()Deprecated, for removal: This API element is subject to removal in a future version.static org.infinispan.commons.tx.lookup.TransactionManagerLookupDeprecated, for removal: This API element is subject to removal in a future version.org.infinispan.commons.configuration.Builder<?> read(TransactionConfiguration template, org.infinispan.commons.configuration.Combine combine) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.since 12.0.transactionManagerLookup(org.infinispan.commons.tx.lookup.TransactionManagerLookup transactionManagerLookup) Deprecated, for removal: This API element is subject to removal in a future version.since 12.0.transactionMode(TransactionMode transactionMode) Deprecated, for removal: This API element is subject to removal in a future version.since 12.0.voidvalidate()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.infinispan.client.hotrod.configuration.AbstractConfigurationChildBuilder
addCluster, addContextInitializer, addContextInitializer, addContextInitializers, addJavaSerialAllowList, addJavaSerialWhiteList, addServer, addServers, asyncExecutorFactory, balancingStrategy, balancingStrategy, balancingStrategy, batchSize, build, classLoader, clientIntelligence, connectionPool, connectionTimeout, consistentHashImpl, consistentHashImpl, dnsResolverMaxTTL, dnsResolverMinTTL, dnsResolverNegativeTTL, forceReturnValues, keySizeEstimate, marshaller, marshaller, marshaller, maxRetries, protocolVersion, remoteCache, security, socketTimeout, statistics, tcpKeepAlive, tcpNoDelay, transaction, transactionTimeout, transportFactory, uri, uri, valueSizeEstimate, version, withPropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.configuration.Builder
read, reset
-
Field Details
-
DEFAULT_TIMEOUT
public static final long DEFAULT_TIMEOUTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Method Details
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
attributesin interfaceorg.infinispan.commons.configuration.Builder<TransactionConfiguration>
-
defaultTransactionManagerLookup
public static org.infinispan.commons.tx.lookup.TransactionManagerLookup defaultTransactionManagerLookup()Deprecated, for removal: This API element is subject to removal in a future version. -
transactionManagerLookup
@Deprecated(forRemoval=true) public TransactionConfigurationBuilder transactionManagerLookup(org.infinispan.commons.tx.lookup.TransactionManagerLookup transactionManagerLookup) Deprecated, for removal: This API element is subject to removal in a future version.since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)TheTransactionManagerLookupto lookup for theTransactionManagerto interact with. -
transactionMode
@Deprecated(forRemoval=true) public TransactionConfigurationBuilder transactionMode(TransactionMode transactionMode) Deprecated, for removal: This API element is subject to removal in a future version.since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionMode(TransactionMode)TheTransactionModein which aRemoteCachewill be enlisted. -
timeout
@Deprecated(forRemoval=true) public TransactionConfigurationBuilder timeout(long timeout, TimeUnit timeUnit) Deprecated, for removal: This API element is subject to removal in a future version.since 12.0. To be removed in Infinispan 14. UseConfigurationBuilder.transactionTimeout(long, TimeUnit)Sets the transaction's timeout.This timeout is used by the server to rollback unrecoverable transaction when they are idle for this amount of time.
An unrecoverable transaction are transaction enlisted as
Synchronization(TransactionMode.NON_XA) orXAResourcewithout recovery enabled (TransactionMode.NON_DURABLE_XA).For
XAResource, this value is overwritten byXAResource.setTransactionTimeout(int).It defaults to 1 minute.
-
validate
public void validate()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
validatein interfaceorg.infinispan.commons.configuration.Builder<TransactionConfiguration>
-
create
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createin interfaceorg.infinispan.commons.configuration.Builder<TransactionConfiguration>
-
read
public org.infinispan.commons.configuration.Builder<?> read(TransactionConfiguration template, org.infinispan.commons.configuration.Combine combine) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceorg.infinispan.commons.configuration.Builder<TransactionConfiguration>
-