public class CadaverActivationRecord extends ActivationRecord
modifyingActions, objectModel, objectUid, usingActions| Modifier | Constructor and Description |
|---|---|
protected |
CadaverActivationRecord() |
|
CadaverActivationRecord(StateManager sm) |
| Modifier and Type | Method and Description |
|---|---|
int |
nestedAbort()
nestedAbort causes the reset_state function of the object to be invoked
passing it the saved ObjectStatus.
|
int |
nestedCommit()
nestedCommit does nothing since the passing of the state up to the parent
action is handled by the record list merging system.
|
int |
nestedPrepare()
A prepare for a nested transaction has occurred.
|
boolean |
propagateOnAbort()
Determine if records are discarded on action abort or must be propagated
to parents.
|
boolean |
shouldReplace(AbstractRecord ar)
Should we replace the record presented with the current record?
|
int |
topLevelAbort()
topLevelAbort for Activation records is exactly like a nested abort.
|
int |
topLevelCommit()
A commit of a top-level transaction has occurred.
|
int |
topLevelPrepare()
A prepare for a top-level transaction has occurred.
|
String |
type()
Re-implementation of abstract methods inherited from base class.
|
alter, merge, print, restore_state, save_state, setValue, shouldAdd, shouldAlter, shouldMerge, typeIs, valuecreate, doSave, equals, forgetHeuristic, getNext, getPrevious, getTypeOfObject, greaterThan, lessThan, nestedCleanup, nestedOnePhaseCommit, order, propagateOnCommit, replace, save_state, setNext, setPrevious, topLevelCleanup, topLevelOnePhaseCommitactivate, activate, cleanup, createLists, deactivate, deactivate, deactivate, destroy, disable, forgetAction, get_uid, getMutex, getObjectModel, getStore, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, rememberAction, setStatus, setupStore, setupStore, setupStore, status, terminate, tryLockMutex, unlockMutex, unpackHeaderpublic CadaverActivationRecord(StateManager sm)
protected CadaverActivationRecord()
public boolean propagateOnAbort()
AbstractRecordpropagateOnAbort in class AbstractRecordtrue if the record should be propagated to the
parent transaction if the current transaction rolls back,
false otherwise. The default is false.public int nestedAbort()
ActivationRecordnestedAbort in class ActivationRecordTwoPhaseOutcome to indicate success/failure.TwoPhaseOutcomepublic int nestedCommit()
ActivationRecordnestedCommit in class ActivationRecordTwoPhaseOutcome to indicate success/failure.TwoPhaseOutcomepublic int nestedPrepare()
AbstractRecordnestedPrepare in class ActivationRecordTwoPhaseOutcome to indicate success/failure.TwoPhaseOutcomepublic int topLevelAbort()
ActivationRecordtopLevelAbort in class ActivationRecordTwoPhaseOutcome to indicate success/failure.TwoPhaseOutcomepublic int topLevelCommit()
AbstractRecordtopLevelCommit in class ActivationRecordTwoPhaseOutcome to indicate success/failure.TwoPhaseOutcomepublic int topLevelPrepare()
AbstractRecordtopLevelPrepare in class ActivationRecordTwoPhaseOutcome to indicate success/failure.TwoPhaseOutcomepublic String type()
AbstractRecordtype in class ActivationRecordpublic boolean shouldReplace(AbstractRecord ar)
AbstractRecordshouldReplace in class ActivationRecordar - The record to try to replace.true if the record should be replaced,
false otherwise.Copyright © 2016 JBoss by Red Hat. All rights reserved.