|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransactionManager | |
---|---|
com.sun.jini.mahalo | Provides implementations of the TransactionManager service. |
com.sun.jini.outrigger | This is an implementation of a JavaSpaces technology-enabled service. |
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. |
Uses of TransactionManager in com.sun.jini.mahalo |
---|
Subinterfaces of TransactionManager in com.sun.jini.mahalo | |
---|---|
interface |
TxnManager
Encapsulates the interface of an implementation of a TransactionManager . |
Classes in com.sun.jini.mahalo that implement TransactionManager | |
---|---|
(package private) class |
ActivatableMahaloImpl
Convenience class intended for use with the ServiceStarter framework to start
an implementation of Mahalo that is activatable, and which will
log its state information to persistent storage. |
(package private) class |
NonActivatableMahaloImpl
Convenience class intended for use with the ServiceStarter framework to start
an implementation of Mahalo that is not activatable, but which
will log its state information to persistent storage. |
(package private) class |
TransientMahaloImpl
Convenience class intended for use with the ServiceStarter framework to start
a transient (non-activatable, non-persistent) implementation
of Mahalo. |
(package private) class |
TxnManagerImpl
An implementation of the Jini Transaction Specification. |
(package private) class |
TxnMgrProxy
A TxnMgrProxy is a proxy for the
transaction manager service. |
(package private) static class |
TxnMgrProxy.ConstrainableTxnMgrProxy
A subclass of TxnMgrProxy that implements RemoteMethodControl. |
Fields in com.sun.jini.mahalo declared as TransactionManager | |
---|---|
private TransactionManager |
SettlerTask.txnmgr
|
Methods in com.sun.jini.mahalo that return TransactionManager | |
---|---|
TransactionManager |
TxnManager.manager()
Returns a reference to the TransactionManager
interface. |
TransactionManager |
TxnManagerImpl.manager()
Returns a reference to the TransactionManager
interface. |
Constructors in com.sun.jini.mahalo with parameters of type TransactionManager | |
---|---|
SettlerTask(TaskManager manager,
WakeupManager wm,
TransactionManager txnmgr,
long tid)
Constructs a SettlerTask . |
|
TxnManagerTransaction(TransactionManager mgr,
LogManager logmgr,
long id,
TaskManager threadpool,
WakeupManager wm,
TxnSettler settler,
Uuid uuid)
Constructs a TxnManagerTransaction |
Uses of TransactionManager in com.sun.jini.outrigger |
---|
Fields in com.sun.jini.outrigger declared as TransactionManager | |
---|---|
private TransactionManager |
TxnTable.Key.manager
The manager for the transaction |
Methods in com.sun.jini.outrigger that return TransactionManager | |
---|---|
(package private) TransactionManager |
Txn.getManager()
Return the manager associated with this transaction. |
Methods in com.sun.jini.outrigger with parameters of type TransactionManager | |
---|---|
void |
OutriggerServerWrapper.abort(TransactionManager mgr,
long id)
|
void |
ParticipantProxy.abort(TransactionManager mgr,
long id)
|
void |
OutriggerServerImpl.abort(TransactionManager mgr,
long id)
|
private UnmarshalException |
OutriggerServerImpl.brokenTxn(TransactionManager mgr,
long id,
Exception nested)
Create, log, and throw a new UnmarshalException to represent a transaction recovery failure |
void |
OutriggerServerWrapper.commit(TransactionManager mgr,
long id)
|
void |
ParticipantProxy.commit(TransactionManager mgr,
long id)
|
void |
OutriggerServerImpl.commit(TransactionManager mgr,
long id)
|
(package private) Txn |
TxnTable.get(TransactionManager manager,
long id)
Given a TransactionManager , manager , and a
transaction id, return the associated Txn , or
null if there is no Txn for this manager/id
pair. |
private Txn |
OutriggerServerImpl.getTxn(TransactionManager mgr,
long id)
Look in the table for the Txn object for the given
manager/id pair. |
int |
OutriggerServerWrapper.prepare(TransactionManager mgr,
long id)
|
int |
ParticipantProxy.prepare(TransactionManager mgr,
long id)
|
int |
OutriggerServerImpl.prepare(TransactionManager mgr,
long id)
|
int |
OutriggerServerWrapper.prepareAndCommit(TransactionManager mgr,
long id)
|
int |
ParticipantProxy.prepareAndCommit(TransactionManager mgr,
long id)
|
int |
OutriggerServerImpl.prepareAndCommit(TransactionManager mgr,
long id)
|
(package private) void |
TxnTable.remove(TransactionManager manager,
long id)
Remove the mapping for the given TransactionManager , id
pair. |
Constructors in com.sun.jini.outrigger with parameters of type TransactionManager | |
---|---|
TxnTable.Key(TransactionManager manager,
long id,
boolean prepared)
Create a new key from the specified manager and id. |
Uses of TransactionManager in net.jini.core.transaction |
---|
Methods in net.jini.core.transaction with parameters of type TransactionManager | |
---|---|
static Transaction.Created |
TransactionFactory.create(TransactionManager mgr,
long leaseTime)
Create a new top-level transaction. |
Uses of TransactionManager in net.jini.core.transaction.server |
---|
Subinterfaces of TransactionManager in net.jini.core.transaction.server | |
---|---|
interface |
NestableTransactionManager
The interface used for managers of the two-phase commit protocol for nestable transactions. |
Fields in net.jini.core.transaction.server declared as TransactionManager | |
---|---|
TransactionManager |
ServerTransaction.mgr
The transaction manager. |
Methods in net.jini.core.transaction.server with parameters of type TransactionManager | |
---|---|
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 . |
Constructors in net.jini.core.transaction.server with parameters of type TransactionManager | |
---|---|
ServerTransaction(TransactionManager mgr,
long id)
Simple constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |