Package | Description |
---|---|
net.jini.core.transaction.server |
These are the default transaction semantics for participant/manager interaction.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedTransactionManager.abort(Object xid) |
void |
ExtendedTransactionManager.abort(Object xid,
long waitFor) |
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 |
ExtendedTransactionManager.commit(Object xid) |
void |
ExtendedTransactionManager.commit(Object xid,
long waitFor) |
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. |
void |
TransactionParticipant.commit(TransactionManager mgr,
long id,
int numOfParticipants)
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. |
TransactionManager.Created |
ExtendedTransactionManager.create(Object xid,
long lease) |
boolean |
ExtendedTransactionManager.disJoin(long id,
TransactionParticipant preparedPart)
Remove a participant that was joined
for a first time. called when a call to a participant returned empty so we can
spare calling commit or abort on it, usually used in embedded mahalo
|
int |
ExtendedTransactionManager.getState(Object id) |
void |
TransactionManager.join(long id,
TransactionParticipant part,
long crashCount)
Join a transaction that is managed by this transaction manager.
|
void |
ExtendedTransactionManager.join(Object id,
TransactionParticipant part,
long crashCount) |
int |
ExtendedTransactionManager.prepare(Object xid)
prepare the underlying xtn designated by the rendered xid
|
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 . |
void |
TransactionParticipant.renewLease(TransactionManager mgr,
long id,
long time)
Notify the transaction participant about transaction lease renewal
|
Copyright © GigaSpaces.