interface Transactable extends TransactionConstants
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
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.