|
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jini.core.transaction.TransactionFactory
public class TransactionFactory
Factory methods for creating top-level transactions.
| Method Summary | |
|---|---|
static NestableTransaction.Created |
create(NestableTransactionManager mgr,
long leaseTime)
Create a new top-level transaction, under which nested transactions can be created. |
static Transaction.Created |
create(TransactionManager mgr,
long leaseTime)
Create a new top-level transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Transaction.Created create(TransactionManager mgr,
long leaseTime)
throws LeaseDeniedException,
RemoteException
NestableTransaction.
mgr - the transaction manager to use for this transactionleaseTime - the requested lease time for the transaction
LeaseDeniedException - if this manager is unwilling to
grant the requested lease time
RemoteException - if a communication error occurs.
public static NestableTransaction.Created create(NestableTransactionManager mgr,
long leaseTime)
throws LeaseDeniedException,
RemoteException
mgr - the transaction manager to use for this transactionleaseTime - the requested lease time for the transaction
LeaseDeniedException - if this manager is unwilling to
grant the requested lease time
RemoteException - if a communication error occurs.
|
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||