Package | Description |
---|---|
net.jini.core.lease |
These are distributed leasing interfaces and classes.
|
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 |
---|---|
void |
Lease.renew(long duration)
Used to renew a lease for an additional period of time, specified in
milliseconds.
|
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.
|
static NestableTransaction.Created |
TransactionFactory.create(NestableTransactionManager mgr,
long leaseTime)
Create a new top-level transaction, under which nested transactions
can be created.
|
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.
|
static Transaction.Created |
TransactionFactory.create(TransactionManager mgr,
long leaseTime)
Create a new top-level transaction.
|
Modifier and Type | Method and Description |
---|---|
TransactionManager.Created |
TransactionManager.create(long lease)
Begin a new top-level transaction.
|
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.
|