GigaSpaces XAP 9.7.2 API

org.openspaces.core.transaction.manager
Class DistributedJiniTxManagerConfigurer

java.lang.Object
  extended by org.openspaces.core.transaction.manager.DistributedJiniTxManagerConfigurer

public class DistributedJiniTxManagerConfigurer
extends Object

A simple configurer for DistributedJiniTransactionManager.

Author:
kimchy

Constructor Summary
DistributedJiniTxManagerConfigurer()
           
 
Method Summary
 DistributedJiniTxManagerConfigurer commitTimeout(long commitTimeout)
           
 DistributedJiniTxManagerConfigurer defaultTimeout(int defaultTimeout)
           
 void destroy()
           
 DistributedJiniTxManagerConfigurer leaseRenewalConfig(TransactionLeaseRenewalConfig leaseRenewalConfig)
           
 DistributedJiniTxManagerConfigurer rollbackTimeout(Long rollbackTimeout)
           
 PlatformTransactionManager transactionManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedJiniTxManagerConfigurer

public DistributedJiniTxManagerConfigurer()
Method Detail

defaultTimeout

public DistributedJiniTxManagerConfigurer defaultTimeout(int defaultTimeout)
See Also:
AbstractPlatformTransactionManager.setDefaultTimeout(int)

commitTimeout

public DistributedJiniTxManagerConfigurer commitTimeout(long commitTimeout)
See Also:
AbstractJiniTransactionManager.setCommitTimeout(Long)

rollbackTimeout

public DistributedJiniTxManagerConfigurer rollbackTimeout(Long rollbackTimeout)
See Also:
AbstractJiniTransactionManager.setRollbackTimeout(Long)

leaseRenewalConfig

public DistributedJiniTxManagerConfigurer leaseRenewalConfig(TransactionLeaseRenewalConfig leaseRenewalConfig)
See Also:
AbstractJiniTransactionManager.setRollbackTimeout(Long)

transactionManager

public PlatformTransactionManager transactionManager()
                                              throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.