|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface Transactable
This interface is implemented by objects that represent operations
undertaken under a transaction. These objects are governed by
a TransactableMgr
object that manages the overall
transaction's state in this space. The set of Transactable
objects managed by a TransactableMgr
object constitute
the set of operations made under the transaction.
TransactableMgr
Field Summary |
---|
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants |
---|
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING |
Method Summary | |
---|---|
void |
abort(TransactableMgr mgr,
OutriggerServerImpl space)
Abort this object's part of the transaction. |
void |
commit(TransactableMgr mgr,
OutriggerServerImpl space)
Commit this object's part of the transaction. |
int |
prepare(TransactableMgr mgr,
OutriggerServerImpl space)
Prepare to commit this object's part of the transaction. |
Method Detail |
---|
int prepare(TransactableMgr mgr, OutriggerServerImpl space)
void commit(TransactableMgr mgr, OutriggerServerImpl space)
space
is the OutriggerServerImpl
on
which the operation happens -- some commit operations have
space-wide side effects (for example, a commit of a
write
operation can cause event notifications for
clients registered under the transaction's parent).
void abort(TransactableMgr mgr, OutriggerServerImpl space)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |