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.
|
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
Modifier and Type | Method and Description |
---|---|
static Transaction.Created |
TransactionFactory.create(TransactionManager mgr,
long leaseTime)
Create a new top-level transaction.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NestableTransactionManager
The interface used for managers of the two-phase commit protocol for
nestable transactions.
|
Modifier and Type | Field and Description |
---|---|
TransactionManager |
ServerTransaction.mgr
The transaction manager.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionParticipant.abort(TransactionManager mgr,
long id)
Requests that the participant roll back any changes for the specified
transaction and unlock any resources locked by the transaction.
|
void |
TransactionParticipant.commit(TransactionManager mgr,
long id)
Requests that the participant make all of its
PREPARED
changes for the specified transaction visible outside of the
transaction and unlock any resources locked by the transaction. |
int |
TransactionParticipant.prepare(TransactionManager mgr,
long id)
Requests that the participant prepare itself to commit the transaction,
and to vote on the outcome of the transaction.
|
int |
TransactionParticipant.prepareAndCommit(TransactionManager mgr,
long id)
A combination of
prepare and commit , which
can be used by the manager when there is just one participant left to
prepare and all other participants (if any) have responded with
NOTCHANGED . |
Constructor and Description |
---|
ServerTransaction(TransactionManager mgr,
long id)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
OutriggerServerImpl.abort(TransactionManager mgr,
long id) |
void |
OutriggerServerImpl.commit(TransactionManager mgr,
long id) |
int |
OutriggerServerImpl.prepare(TransactionManager mgr,
long id) |
int |
OutriggerServerImpl.prepareAndCommit(TransactionManager mgr,
long id) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.