GigaSpaces XAP 7.0 API

org.openspaces.core.transaction.manager
Class LocalJiniTxManagerConfigurer

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

public class LocalJiniTxManagerConfigurer
extends Object

A simple configurer for LocalJiniTransactionManager.

Author:
kimchy

Constructor Summary
LocalJiniTxManagerConfigurer(IJSpace space)
           
LocalJiniTxManagerConfigurer(UrlSpaceConfigurer urlSpaceConfigurer)
           
 
Method Summary
 LocalJiniTxManagerConfigurer clustered(boolean clustered)
           
 LocalJiniTxManagerConfigurer commitTimeout(long commitTimeout)
           
 LocalJiniTxManagerConfigurer defaultTimeout(int defaultTimeout)
           
 void destroy()
           
 LocalJiniTxManagerConfigurer leaseRenewalConfig(TransactionLeaseRenewalConfig leaseRenewalConfig)
           
 LocalJiniTxManagerConfigurer 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

LocalJiniTxManagerConfigurer

public LocalJiniTxManagerConfigurer(UrlSpaceConfigurer urlSpaceConfigurer)

LocalJiniTxManagerConfigurer

public LocalJiniTxManagerConfigurer(IJSpace space)
Method Detail

clustered

public LocalJiniTxManagerConfigurer clustered(boolean clustered)
See Also:
LocalJiniTransactionManager.setClustered(Boolean)

defaultTimeout

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

commitTimeout

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

rollbackTimeout

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

leaseRenewalConfig

public LocalJiniTxManagerConfigurer 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 7.0 API

Copyright © GigaSpaces.