Package | Description |
---|---|
net.jini.core.transaction |
These are the transaction abstraction's interfaces and classes.
|
net.jini.core.transaction.server |
These are the default transaction semantics for participant/manager interaction.
|
Modifier and Type | Method and Description |
---|---|
NestableTransaction.Created |
NestableTransaction.create(long leaseTime)
Create a new nested transaction, with the current transaction as
parent, managed by the same transaction manager as the current
transaction.
|
NestableTransaction.Created |
NestableTransaction.create(NestableTransactionManager mgr,
long leaseTime)
Create a new nested transaction, with the current transaction as
parent, managed by the given transaction manager.
|
Modifier and Type | Method and Description |
---|---|
NestableTransaction.Created |
NestableServerTransaction.create(long leaseTime) |
NestableTransaction.Created |
NestableServerTransaction.create(NestableTransactionManager mgr,
long leaseTime) |
TransactionManager.Created |
NestableTransactionManager.create(NestableTransactionManager parentMgr,
long parentID,
long lease)
Begin a nested transaction, with the specified transaction as parent.
|
void |
TransactionManager.join(long id,
TransactionParticipant part,
long crashCount)
Join a transaction that is managed by this transaction manager.
|
void |
ServerTransaction.join(TransactionParticipant part,
long crashCount)
Join the transaction.
|
void |
NestableTransactionManager.promote(long id,
TransactionParticipant[] parts,
long[] crashCounts,
TransactionParticipant drop)
Promote the listed participants into the specified transaction.
|
void |
NestableServerTransaction.promote(TransactionParticipant[] parts,
long[] crashCounts,
TransactionParticipant drop)
Promote the listed participants (from a subtransaction) into
this (the parent) transaction.
|